summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-01-27 14:15:05 +0000
committeradam <adam@pkgsrc.org>2011-01-27 14:15:05 +0000
commite6ecf114df2a791723a1a29096721218e2e4a17b (patch)
treede03e248d598b4e459eb34e56173ce7d4ab0f252 /devel
parentf9379fde7de1e15d0132a6ddca90ccabb5cc1b32 (diff)
downloadpkgsrc-e6ecf114df2a791723a1a29096721218e2e4a17b.tar.gz
We don't BUILDLINK_PASSTHRU_DIRS magic on Mac OS X any more.
Diffstat (limited to 'devel')
-rw-r--r--devel/SDL/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/devel/SDL/Makefile b/devel/SDL/Makefile
index 9ecc5dede17..b9ee624b742 100644
--- a/devel/SDL/Makefile
+++ b/devel/SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2010/12/29 18:34:06 adam Exp $
+# $NetBSD: Makefile,v 1.92 2011/01/27 14:15:05 adam Exp $
DISTNAME= SDL-1.2.14
PKGREVISION= 1
@@ -41,24 +41,13 @@ CONFIGURE_ARGS+= --disable-video-wscons
CONFIGURE_ENV+= NASMFLAGS="${NASMFLAGS_${OBJECT_FMT}}"
MAKE_ENV+= NASMFLAGS="${NASMFLAGS_${OBJECT_FMT}}"
-# 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
-
# See <http://developer.apple.com/qa/qa2007/qa1567.html>.
+.if ${OPSYS} == "Darwin"
. if !empty(OS_VERSION:M9.*)
LDFLAGS+= -Wl,-dylib_file -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
. endif
-
.endif
-
.include "../../mk/oss.buildlink3.mk"
AM_CFLAGS= -D_PATH_DEV_DSP="\"${DEVOSSAUDIO}\""