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
commit8b62350a7741155fb2c4bb1af9886538c9b4197f (patch)
treef487b54e30005bc10bfef62e663ee40f25e80c8f /devel
parentfbbcb80a26c9feb6a6f3fa710396955a1a50960c (diff)
downloadpkgsrc-8b62350a7741155fb2c4bb1af9886538c9b4197f.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: