summaryrefslogtreecommitdiff
path: root/core/iptables/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/iptables/PKGBUILD')
-rw-r--r--core/iptables/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/iptables/PKGBUILD b/core/iptables/PKGBUILD
index e8cc3b315..9ac514253 100644
--- a/core/iptables/PKGBUILD
+++ b/core/iptables/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=iptables
pkgver=1.4.15
pkgrel=1
pkgdesc='Linux kernel packet control tool'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url='http://www.netfilter.org/projects/iptables/index.html'
depends=('glibc' 'bash')
@@ -52,10 +52,12 @@ build() {
patch -Np1 -i ${srcdir}/0503-extension_cppflags.patch
+ [ "$CARCH" = "mips64el" ] || extra="--enable-libipq"
+
./configure --prefix=/usr \
--libexecdir=/usr/lib/iptables --sysconfdir=/etc \
--with-xtlibdir=/usr/lib/iptables \
- --enable-devel --enable-libipq \
+ --enable-devel $extra \
--enable-shared
make