From bb038280d2b5e12916d14587fd5e82455b456698 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 27 May 2020 11:35:02 -0400 Subject: Darwin pass 2 --- gettext/build.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'gettext') diff --git a/gettext/build.sh b/gettext/build.sh index 6adab04..084dee6 100644 --- a/gettext/build.sh +++ b/gettext/build.sh @@ -18,7 +18,21 @@ function prepare() { } function build() { - ./configure --prefix=${_prefix} + conf=() + if [[ $(uname -s) == Darwin ]]; then + conf+=(--with-included-gettext) + conf+=(--with-included-glib) + conf+=(--with-included-libcroco) + conf+=(--with-included-libunistring) + conf+=(--disable-java) + conf+=(--disable-csharp) + conf+=(--without-git) + conf+=(--without-cvs) + conf+=(--without-xz) + fi + + ./configure --prefix=${_prefix} \ + ${conf[@]} make -j${_maxjobs} } -- cgit