diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:51:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-30 08:54:53 +0000 |
commit | 5c904717322f8113870abf48cc93c3c8b00ab4e8 (patch) | |
tree | e077e5c3afa20630fd6e96db5872f03d622d639e /main/ruby | |
parent | a879839450737e3cbdb64415af42347c97ccfa28 (diff) | |
download | aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2 aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz |
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/ruby')
-rw-r--r-- | main/ruby/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD index 9da0f6d940..4f39d61366 100644 --- a/main/ruby/APKBUILD +++ b/main/ruby/APKBUILD @@ -65,11 +65,17 @@ build() { # ruby saves path to install. we want use $PATH export INSTALL=install - # the configure script does not detect isnan/isinf as macros - ac_cv_func_isnan=yes \ - ac_cv_func_isinf=yes \ + case "$CLIBC" in + uclibc) + # the configure script does not detect isnan/isinf as macros + export ac_cv_func_isnan=yes + export ac_cv_func_isinf=yes + ;; + esac + ./configure \ - --build=${CHOST:-i486-alpine-linux-uclibc} \ + --build=$CBUILD \ + --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ |