diff options
author | snj <snj@pkgsrc.org> | 2010-01-21 01:54:59 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2010-01-21 01:54:59 +0000 |
commit | 8b62350a7741155fb2c4bb1af9886538c9b4197f (patch) | |
tree | f487b54e30005bc10bfef62e663ee40f25e80c8f /devel | |
parent | fbbcb80a26c9feb6a6f3fa710396955a1a50960c (diff) | |
download | pkgsrc-8b62350a7741155fb2c4bb1af9886538c9b4197f.tar.gz |
This needs _XOPEN_SOURCE to build on Snow Leopard.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/boehm-gc/Makefile | 6 |
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: |