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/iptables | |
parent | a879839450737e3cbdb64415af42347c97ccfa28 (diff) | |
download | aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.bz2 aports-5c904717322f8113870abf48cc93c3c8b00ab4e8.tar.xz |
[all autotools packages]: normalize ./configure
Diffstat (limited to 'main/iptables')
-rw-r--r-- | main/iptables/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD index 02916d3c6a..600f6cade8 100644 --- a/main/iptables/APKBUILD +++ b/main/iptables/APKBUILD @@ -24,19 +24,22 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done - sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \ + sed -i -e '/if_packet/i#define __aligned_u64 __u64 __attribute__((aligned(8)))' \ extensions/libxt_pkttype.c || return 1 } build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --mandir=/usr/share/man \ --sbindir=/sbin \ --without-kernel \ - --enable-devel \ + --enable-devel \ --enable-libipq \ - --enable-shared \ + --enable-shared \ || return 1 # do not use rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |