summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-12-27 14:13:58 +0000
committerobache <obache@pkgsrc.org>2007-12-27 14:13:58 +0000
commitb992f3669737d6299c565485ea08a76548d4ae7e (patch)
tree5df6de6a76caad0dc611a19c2ea683f36dd94c31 /security
parente0cc135351bed48ec868781b974468fceca5063e (diff)
downloadpkgsrc-b992f3669737d6299c565485ea08a76548d4ae7e.tar.gz
Try to fix build problem on NetBSD, use the same strategies as DragonFly.
Diffstat (limited to 'security')
-rw-r--r--security/botan/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile
index d348d6107ee..9a6083afef4 100644
--- a/security/botan/Makefile
+++ b/security/botan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/11/30 20:02:39 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2007/12/27 14:13:58 obache Exp $
DISTNAME= Botan-1.4.11
PKGNAME= botan-1.4.11
@@ -27,6 +27,7 @@ MAKE_FLAGS+= INSTALL_CMD_DATA=${INSTALL_DATA:Q}
MAKE_FLAGS+= LIB_OPT=${CXXFLAGS:Q}
CXXFLAGS.DragonFly+= -D_DRAGONFLY_SOURCE
+CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
BUILDLINK_TRANSFORM+= rm:-mcpu=i686
.include "../../mk/bsd.pkg.mk"