From 4660e38ede6abb99a943b000e8ffaabb14efdd19 Mon Sep 17 00:00:00 2001 From: grant Date: Tue, 4 May 2004 21:58:07 +0000 Subject: add the Cocoa framework directories to BUILDLINK_PASSTHRU_DIRS on Darwin. fixes build problem reported and confirmed fixed by Randy Beaudreault. --- devel/SDL/Makefile.common | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'devel/SDL') 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}\\\" -- cgit v1.2.3