summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-29 10:23:08 +0000
committerrillig <rillig@pkgsrc.org>2007-09-29 10:23:08 +0000
commitcacba68addf58a44e160814818a17bdbd51f460f (patch)
tree40f91e52bab3edeae0abf2b07038da4b17d86f0b /archivers
parentd70e209ef7ce067de8112046fb7e25f80672f6f0 (diff)
downloadpkgsrc-cacba68addf58a44e160814818a17bdbd51f460f.tar.gz
g++4 for i386 doesn't know -mcpu anymore, and I doubt this flag is
necessary in this case at all. Fixes the build on NetBSD 4.99.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/upx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile
index 693f5bbe1fc..9aab771ba00 100644
--- a/archivers/upx/Makefile
+++ b/archivers/upx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/02/26 11:56:40 schwarz Exp $
+# $NetBSD: Makefile,v 1.14 2007/09/29 10:23:08 rillig Exp $
DISTNAME= upx-1.25-src
PKGNAME= ${DISTNAME:S/-src//}
@@ -17,6 +17,8 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin
+BUILDLINK_TRANSFORM= rm:-mcpu=i686
+
do-build:
cd ${WRKSRC:Q}/src && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} PREFIX=${PREFIX:Q} target=netbsd \