add the Cocoa framework directories to BUILDLINK_PASSTHRU_DIRS on

Darwin.

fixes build problem reported and confirmed fixed by Randy Beaudreault.
This commit is contained in:
grant 2004-05-04 21:58:07 +00:00
parent 204ee89764
commit a0a08bd7a1

View file

@ -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}\\\"