mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
chore(macos): drop unneeded gettext from libpq building
This commit is contained in:
parent
5bfba4c961
commit
cee23d83e0
|
@ -15,9 +15,6 @@ openssl_version="${OPENSSL_VERSION}"
|
||||||
# last release: https://kerberos.org/dist/
|
# last release: https://kerberos.org/dist/
|
||||||
krb5_version="1.21.3"
|
krb5_version="1.21.3"
|
||||||
|
|
||||||
# last release: https://www.gnu.org/software/gettext/
|
|
||||||
gettext_version="0.22.5"
|
|
||||||
|
|
||||||
# last release: https://openldap.org/software/download/
|
# last release: https://openldap.org/software/download/
|
||||||
ldap_version="2.6.8"
|
ldap_version="2.6.8"
|
||||||
|
|
||||||
|
@ -153,27 +150,6 @@ if [ "$ID" == "macos" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$ID" == "macos" ]; then
|
|
||||||
|
|
||||||
# Build gettext if needed
|
|
||||||
gettext_dir="gettext-${gettext_version}"
|
|
||||||
if [ ! -d "${gettext_dir}" ]; then
|
|
||||||
curl -sL "https://ftp.gnu.org/pub/gnu/gettext/gettext-${gettext_version}.tar.gz" \
|
|
||||||
| tar xzf -
|
|
||||||
|
|
||||||
pushd "${gettext_dir}"
|
|
||||||
./configure --disable-java "${make_configure_standard_flags[@]}"
|
|
||||||
make -C gettext-runtime all
|
|
||||||
else
|
|
||||||
pushd "${gettext_dir}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
make -C gettext-runtime install
|
|
||||||
popd
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ "$ID" == "centos" ] || [ "$ID" == "macos" ]; then
|
if [ "$ID" == "centos" ] || [ "$ID" == "macos" ]; then
|
||||||
|
|
||||||
# Build libsasl2 if needed
|
# Build libsasl2 if needed
|
||||||
|
|
|
@ -15,7 +15,7 @@ prjdir="$( cd "${dir}/../.." && pwd )"
|
||||||
"${prjdir}/scripts/build/build_libpq.sh"
|
"${prjdir}/scripts/build/build_libpq.sh"
|
||||||
|
|
||||||
# Show dependency tree
|
# Show dependency tree
|
||||||
# otool -L /tmp/libpq.build/lib/*.dylib
|
otool -L /tmp/libpq.build/lib/*.dylib
|
||||||
|
|
||||||
brew install gnu-sed postgresql@${PG_VERSION}
|
brew install gnu-sed postgresql@${PG_VERSION}
|
||||||
brew link --overwrite postgresql@${PG_VERSION}
|
brew link --overwrite postgresql@${PG_VERSION}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user