summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"