pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libsamplerate Allow to use the Carbon library if...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81b99e8f8460
branches:  trunk
changeset: 530317:81b99e8f8460
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jun 23 08:06:00 2007 +0000

description:
Allow to use the Carbon library if it exists.

diffstat:

 audio/libsamplerate/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 29e1c4e8e0c0 -r 81b99e8f8460 audio/libsamplerate/Makefile
--- a/audio/libsamplerate/Makefile      Sat Jun 23 08:01:08 2007 +0000
+++ b/audio/libsamplerate/Makefile      Sat Jun 23 08:06:00 2007 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index