From 06ae53d2b31b1899841557791e90478168a689a7 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 30 Jun 2007 18:24:51 +0000 Subject: Build with -D_POSIX_SOURCE on DragonFly to prevent conflict on label_t. --- devel/bcc/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'devel/bcc') 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}; \ -- cgit v1.2.3