diff options
author | joerg <joerg@pkgsrc.org> | 2007-06-30 18:24:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-06-30 18:24:51 +0000 |
commit | 06ae53d2b31b1899841557791e90478168a689a7 (patch) | |
tree | ee0436142c7ca6bfec6e1d6729545f207ec1f90d /devel/bcc | |
parent | ed40e0e9aa128933f51b23377ced1d78fc9021ef (diff) | |
download | pkgsrc-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/Makefile | 8 |
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}; \ |