diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-27 11:35:02 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-27 11:35:02 -0400 |
commit | bb038280d2b5e12916d14587fd5e82455b456698 (patch) | |
tree | d33aa2ec22b9cc4fd7cce68a152cc6078a37a0ff /gettext | |
parent | cd85778597a709c5d589c9f984d039e5b96bafca (diff) | |
download | spm_packages-bb038280d2b5e12916d14587fd5e82455b456698.tar.gz |
Darwin pass 2
Diffstat (limited to 'gettext')
-rw-r--r-- | gettext/build.sh | 16 |
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} } |