summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2010-01-21 01:54:59 +0000
committersnj <snj@pkgsrc.org>2010-01-21 01:54:59 +0000
commitacd11a0f851bcf932141a622f69f68df18b12021 (patch)
treef487b54e30005bc10bfef62e663ee40f25e80c8f /devel
parenta319e39e6f34c9fc4e829fce5612095a3ba1c66a (diff)
downloadpkgsrc-acd11a0f851bcf932141a622f69f68df18b12021.tar.gz
This needs _XOPEN_SOURCE to build on Snow Leopard.
Diffstat (limited to 'devel')
-rw-r--r--devel/boehm-gc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index 489abe3d978..ac0801c34a0 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -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 @@ EXTRACT_ELEMENTS= -u
CFLAGS+= -D__MIPSEL__
.endif
+.if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*)
+CFLAGS+= -D_XOPEN_SOURCE
+.endif
+
.include "options.mk"
post-install: