pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bcc Build with -D_POSIX_SOURCE on DragonFly to p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5f74c7a3325
branches:  trunk
changeset: 530449:a5f74c7a3325
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 30 18:24:51 2007 +0000

description:
Build with -D_POSIX_SOURCE on DragonFly to prevent conflict on label_t.

diffstat:

 devel/bcc/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r ea986f2b02d3 -r a5f74c7a3325 devel/bcc/Makefile
--- a/devel/bcc/Makefile        Sat Jun 30 18:14:35 2007 +0000
+++ b/devel/bcc/Makefile        Sat Jun 30 18:24:51 2007 +0000
@@ -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 @@
 
 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}; \



Home | Main Index | Thread Index | Old Index