diff options
author | grant <grant@pkgsrc.org> | 2004-05-04 21:58:07 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-05-04 21:58:07 +0000 |
commit | a0a08bd7a1d1a508a40d0305c686f192ec44f7a9 (patch) | |
tree | 88c87a116e62c636e4e9133a9247c188f3f9b71f /devel | |
parent | 204ee89764c786696e98524ee54384eaba99c0a0 (diff) | |
download | pkgsrc-a0a08bd7a1d1a508a40d0305c686f192ec44f7a9.tar.gz |
add the Cocoa framework directories to BUILDLINK_PASSTHRU_DIRS on
Darwin.
fixes build problem reported and confirmed fixed by Randy Beaudreault.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SDL/Makefile.common | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/SDL/Makefile.common b/devel/SDL/Makefile.common index c6401b7535c..297d1745978 100644 --- a/devel/SDL/Makefile.common +++ b/devel/SDL/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2004/04/17 00:15:21 snj Exp $ +# $NetBSD: Makefile.common,v 1.13 2004/05/04 21:58:07 grant Exp $ # DISTNAME= SDL-1.2.7 @@ -45,6 +45,17 @@ MAKE_ENV+= NASMFLAGS="${NASMFLAGS_${OBJECT_FMT}}" # CONFIGURE_ENV+= SYSTEM_LIBS="${LDFLAGS}" +# buildlink passthru the directories required for the Cocoa framework +# on Darwin if they exist. +.if ${OPSYS} == "Darwin" +COCOA_DIRS+= /System /Library /Developer +. for _dir_ in ${COCOA_DIRS} +. if exists(${_dir_}) +BUILDLINK_PASSTHRU_DIRS+= ${_dir_} +. endif +. endfor +.endif + .include "../../mk/ossaudio.buildlink3.mk" .if defined(HAVE_OSS) && (${HAVE_OSS} == "YES") AM_CFLAGS= -D_PATH_DEV_DSP=\\\"${DEVOSSAUDIO}\\\" |