pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boehm-gc This needs _XOPEN_SOURCE to build on Sn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcd8dc74dfc7
branches:  trunk
changeset: 569934:fcd8dc74dfc7
user:      snj <snj%pkgsrc.org@localhost>
date:      Thu Jan 21 01:54:59 2010 +0000

description:
This needs _XOPEN_SOURCE to build on Snow Leopard.

diffstat:

 devel/boehm-gc/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r caf7306842d6 -r fcd8dc74dfc7 devel/boehm-gc/Makefile
--- a/devel/boehm-gc/Makefile   Wed Jan 20 23:17:12 2010 +0000
+++ b/devel/boehm-gc/Makefile   Thu Jan 21 01:54:59 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2010/01/20 10:01:19 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2010/01/21 01:54:59 snj Exp $
 
 DISTNAME=      gc-7.1
 PKGNAME=       ${DISTNAME:S/gc/boehm-gc/}
@@ -35,6 +35,10 @@
 CFLAGS+=               -D__MIPSEL__
 .endif
 
+.if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*)
+CFLAGS+=               -D_XOPEN_SOURCE
+.endif
+
 .include "options.mk"
 
 post-install:



Home | Main Index | Thread Index | Old Index