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/bison | |
parent | a879839450737e3cbdb64415af42347c97ccfa28 (diff) | |
download | aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2 aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz |
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/bison')
-rw-r--r-- | main/bison/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/bison/APKBUILD b/main/bison/APKBUILD index 6167d8c16..1aeb4f087 100644 --- a/main/bison/APKBUILD +++ b/main/bison/APKBUILD @@ -18,16 +18,23 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --datadir=/usr/share \ --infodir=/usr/share/info \ - --mandir=/usr/share/man + --mandir=/usr/share/man \ + || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install + rm -rf "$pkgdir"/usr/lib/charset.alias + rmdir -p "$pkgdir"/usr/lib 2>/dev/null + return 0 } md5sums="7be02eb973eccf388f1ae750fc09eed0 bison-2.7.1.tar.xz" |