From 14462aa4f44e12bb0b79f0b0eb4d3bccdafbe9e0 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sat, 17 Sep 2011 21:30:59 +0200 Subject: Force iputils to use user-specified CFLAGS. --- core/iputils/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/iputils') diff --git a/core/iputils/PKGBUILD b/core/iputils/PKGBUILD index ec4f5787e..7c9351502 100644 --- a/core/iputils/PKGBUILD +++ b/core/iputils/PKGBUILD @@ -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 -- cgit v1.2.3-54-g00ecf