From 5c904717322f8113870abf48cc93c3c8b00ab4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 30 Jul 2013 08:51:11 +0000 Subject: [all autotools packages]: normalize ./configure --- main/iptables/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'main/iptables') 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 -- cgit v1.2.3