pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/botan Discard the -mcpu=i686 option for the C...
details: https://anonhg.NetBSD.org/pkgsrc/rev/af01394018a9
branches: trunk
changeset: 535965:af01394018a9
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 30 20:02:39 2007 +0000
description:
Discard the -mcpu=i686 option for the C++ compiler, since g++4 doesn't
accept it.
diffstat:
security/botan/Makefile | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diffs (23 lines):
diff -r b88d195ade1a -r af01394018a9 security/botan/Makefile
--- a/security/botan/Makefile Fri Nov 30 19:59:04 2007 +0000
+++ b/security/botan/Makefile Fri Nov 30 20:02:39 2007 +0000
@@ -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_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"
Home |
Main Index |
Thread Index |
Old Index