diff --git a/scripts/build/build_libpq.sh b/scripts/build/build_libpq.sh index 076b99788..98b46eb3c 100755 --- a/scripts/build/build_libpq.sh +++ b/scripts/build/build_libpq.sh @@ -134,28 +134,28 @@ if [ "$ID" == "macos" ]; then fi -if [ "$ID" == "macos" ]; then +# if [ "$ID" == "macos" ]; then - # Build gettext if needed - gettext_dir="gettext-${gettext_version}" - if [ ! -d "${gettext_dir}" ]; then - "$curl" -sL \ - curl -sL "https://ftp.gnu.org/pub/gnu/gettext/gettext-${gettext_version}.tar.gz" \ - | tar xzf - +# # Build gettext if needed +# gettext_dir="gettext-${gettext_version}" +# if [ ! -d "${gettext_dir}" ]; then +# "$curl" -sL \ +# curl -sL "https://ftp.gnu.org/pub/gnu/gettext/gettext-${gettext_version}.tar.gz" \ +# | tar xzf - - cd "${gettext_dir}" +# cd "${gettext_dir}" - ./configure --prefix=${LIBPQ_BUILD_PREFIX} --disable-java \ - CPPFLAGS=-I${LIBPQ_BUILD_PREFIX}/include/ LDFLAGS=-L${LIBPQ_BUILD_PREFIX}/lib - make -C gettext-runtime all - else - cd "${gettext_dir}" - fi +# ./configure --prefix=${LIBPQ_BUILD_PREFIX} --disable-java \ +# CPPFLAGS=-I${LIBPQ_BUILD_PREFIX}/include/ LDFLAGS=-L${LIBPQ_BUILD_PREFIX}/lib +# make -C gettext-runtime all +# else +# cd "${gettext_dir}" +# fi - make -C gettext-runtime install - cd .. +# make -C gettext-runtime install +# cd .. -fi +# fi if [ "$ID" == "centos" ] || [ "$ID" == "macos" ]; then