summaryrefslogtreecommitdiff
path: root/devel/bcc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-30 18:24:51 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-30 18:24:51 +0000
commit06ae53d2b31b1899841557791e90478168a689a7 (patch)
treeee0436142c7ca6bfec6e1d6729545f207ec1f90d /devel/bcc
parented40e0e9aa128933f51b23377ced1d78fc9021ef (diff)
downloadpkgsrc-06ae53d2b31b1899841557791e90478168a689a7.tar.gz
Build with -D_POSIX_SOURCE on DragonFly to prevent conflict on label_t.
Diffstat (limited to 'devel/bcc')
-rw-r--r--devel/bcc/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/bcc/Makefile b/devel/bcc/Makefile
index d8b17f06b12..0e1407dc24c 100644
--- a/devel/bcc/Makefile
+++ b/devel/bcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/01/18 11:55:45 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2007/06/30 18:24:51 joerg Exp $
DISTNAME= bcc
PKGNAME= bcc-95.3.12
@@ -14,6 +14,12 @@ USE_BSD_MAKEFILE= yes
INSTALLATION_DIRS= bin lib/bcc ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+CPPFLAGS+= -D_POSIX_SOURCE
+.endif
+
post-extract:
set -e; \
cd ${FILESDIR}; \