summaryrefslogtreecommitdiff
path: root/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'gettext')
-rw-r--r--gettext/build.sh16
1 files changed, 15 insertions, 1 deletions
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}
}