pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/SDL add the Cocoa framework directories to BUILD...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3ad3778a597
branches: trunk
changeset: 474745:f3ad3778a597
user: grant <grant%pkgsrc.org@localhost>
date: Tue May 04 21:58:07 2004 +0000
description:
add the Cocoa framework directories to BUILDLINK_PASSTHRU_DIRS on
Darwin.
fixes build problem reported and confirmed fixed by Randy Beaudreault.
diffstat:
devel/SDL/Makefile.common | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r cdb7dc2fce07 -r f3ad3778a597 devel/SDL/Makefile.common
--- a/devel/SDL/Makefile.common Tue May 04 21:43:33 2004 +0000
+++ b/devel/SDL/Makefile.common Tue May 04 21:58:07 2004 +0000
@@ -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 @@
#
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}\\\"
Home |
Main Index |
Thread Index |
Old Index