diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-30 20:02:39 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-30 20:02:39 +0000 |
commit | ff6d0eddfaead67fb347e937169d0612cfae6dbf (patch) | |
tree | 845c6c3d19f698259429ff34e03e2a0f2b3dd672 /security/botan | |
parent | e20a3cbbb58f883ff78326f25e361eabe2a0c8ac (diff) | |
download | pkgsrc-ff6d0eddfaead67fb347e937169d0612cfae6dbf.tar.gz |
Discard the -mcpu=i686 option for the C++ compiler, since g++4 doesn't
accept it.
Diffstat (limited to 'security/botan')
-rw-r--r-- | security/botan/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile index 4eb38b235a7..d348d6107ee 100644 --- a/security/botan/Makefile +++ b/security/botan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/06/30 16:12:03 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2007/11/30 20:02:39 rillig Exp $ DISTNAME= Botan-1.4.11 PKGNAME= botan-1.4.11 @@ -26,11 +26,7 @@ MAKE_FLAGS+= INSTALL_CMD_EXEC=${INSTALL_PROGRAM:Q} MAKE_FLAGS+= INSTALL_CMD_DATA=${INSTALL_DATA:Q} MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q} -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "DragonFly" -CXXFLAGS+= -D_DRAGONFLY_SOURCE -.endif - +CXXFLAGS.DragonFly+= -D_DRAGONFLY_SOURCE +BUILDLINK_TRANSFORM+= rm:-mcpu=i686 .include "../../mk/bsd.pkg.mk" |