summaryrefslogtreecommitdiff
path: root/audio/libsamplerate
diff options
context:
space:
mode:
authorminskim <minskim>2007-06-23 08:06:00 +0000
committerminskim <minskim>2007-06-23 08:06:00 +0000
commitf14af0a30fb4bb973c38ffd986a3138904086318 (patch)
tree50ea7e82e042b8bab142ec87a2160d1955d587c1 /audio/libsamplerate
parentd558046bcd186681f9db41926179d5c91e984e55 (diff)
downloadpkgsrc-f14af0a30fb4bb973c38ffd986a3138904086318.tar.gz
Allow to use the Carbon library if it exists.
Diffstat (limited to 'audio/libsamplerate')
-rw-r--r--audio/libsamplerate/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile
index 6f37d9b00bf..0aaf5922090 100644
--- a/audio/libsamplerate/Makefile
+++ b/audio/libsamplerate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/01/13 07:41:09 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2007/06/23 08:06:00 minskim Exp $
#
DISTNAME= libsamplerate-0.1.2
@@ -15,6 +15,10 @@ USE_LIBTOOL= YES
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= ${WRKSRC}/samplerate.pc.in
+.if exists(/Developer/Headers/FlatCarbon)
+BUILDLINK_PASSTHRU_DIRS+= /Developer/Headers/FlatCarbon
+.endif
+
TEST_TARGET= check
BUILDLINK_API_DEPENDS.libsndfile+= libsndfile>=1.0.2