summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-04-10 03:32:02 +0000
committergrant <grant@pkgsrc.org>2003-04-10 03:32:02 +0000
commit16242cd3ec0843f5b16e531b83e9a30e9b9fca6b (patch)
tree891df4b951f10bc54b0b25c96d20327bb1e41797 /audio
parent324891f8df76a5979c44c8cb6e7d26487c58bcfa (diff)
downloadpkgsrc-16242cd3ec0843f5b16e531b83e9a30e9b9fca6b.tar.gz
allow this to find libucb on Solaris.
Diffstat (limited to 'audio')
-rw-r--r--audio/libaudiofile/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index 79e910516e9..bad3827d32d 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2002/10/30 03:09:26 rh Exp $
+# $NetBSD: Makefile,v 1.27 2003/04/10 03:32:02 grant Exp $
DISTNAME= audiofile-0.2.3
PKGNAME= lib${DISTNAME}
@@ -23,4 +23,10 @@ post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/docs; ${INSTALL_DATA} af* sf* ${DOCDIR}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -Wl,${RPATH_FLAG}/usr/ucblib -L/usr/ucblib
+.endif
+
.include "../../mk/bsd.pkg.mk"