summaryrefslogtreecommitdiff
path: root/core/iputils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/iputils/PKGBUILD')
-rw-r--r--core/iputils/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/iputils/PKGBUILD b/core/iputils/PKGBUILD
index 0d585e312..bf24c3a6e 100644
--- a/core/iputils/PKGBUILD
+++ b/core/iputils/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=iputils
pkgver=20101006
_traceroutever=1.4a12
-pkgrel=2
+pkgrel=2.1
pkgdesc="IP Configuration Utilities (and Ping)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.linuxfoundation.org/en/Net:Iputils"
groups=('base')
@@ -31,12 +31,14 @@ build() {
# Doc fails to build (see FS#20251)
# As a temporary workaround, we use these man pages from Fedora & LFS
patch -Np1 -i ../iputils-s20101006-manpages.patch
+ find . -name Makefile | xargs sed -ri 's/^(CCOPT=.*)$/\1 '"${CFLAGS}"'/'
make
# build traceroute
# this is combined in this package because it's awkward as a separate package
cd "${srcdir}/traceroute-${_traceroutever}"
patch -Np1 -i ../permission-fix.patch
+ find . -name Makefile.in | xargs sed -ri 's/^(CCOPT=.*)$/\1 '"${CFLAGS}"'/'
./configure --prefix=/usr \
--sbindir=/bin \
--mandir=/usr/share/man