pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/upx g++4 for i386 doesn't know -mcpu anymore...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88ebef8a0873
branches:  trunk
changeset: 533747:88ebef8a0873
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Sep 29 10:23:08 2007 +0000

description:
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:

 archivers/upx/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d81d045cffae -r 88ebef8a0873 archivers/upx/Makefile
--- a/archivers/upx/Makefile    Fri Sep 28 21:42:10 2007 +0000
+++ b/archivers/upx/Makefile    Sat Sep 29 10:23:08 2007 +0000
@@ -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 @@
 
 INSTALLATION_DIRS=     bin
 
+BUILDLINK_TRANSFORM=   rm:-mcpu=i686
+
 do-build:
        cd ${WRKSRC:Q}/src && ${SETENV} ${MAKE_ENV}                     \
                ${MAKE_PROGRAM} PREFIX=${PREFIX:Q} target=netbsd        \



Home | Main Index | Thread Index | Old Index