summaryrefslogtreecommitdiff
path: root/archivers/upx
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-29 10:23:08 +0000
committerrillig <rillig>2007-09-29 10:23:08 +0000
commit440db0dc8a7f438c1844595edfb18541013dc5ba (patch)
tree40f91e52bab3edeae0abf2b07038da4b17d86f0b /archivers/upx
parent2e95dcc63a2d03d2e3cfa1445e38f026162964fd (diff)
downloadpkgsrc-440db0dc8a7f438c1844595edfb18541013dc5ba.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/upx')
-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 \