summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-01-25 16:39:13 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-01-25 16:39:13 +0000
commit025a550c557c9452b7db7f9b1a69486366e5db28 (patch)
tree559b51ed335a74973982cc45235cf99a61ac4f27
parentf1aac7cb6d5b52613d0add0928b9a69c1cb13c60 (diff)
downloadpkgsrc-025a550c557c9452b7db7f9b1a69486366e5db28.tar.gz
Do not hardcode -lossaudio, the correct way is the following:
* Include mk/ossaudio.buildlink3.mk * LIBS+= ${LIBOSSAUDIO} (which in some platforms will be empty).
-rw-r--r--net/kiax/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/kiax/Makefile b/net/kiax/Makefile
index 729e1fcd376..c3833cab61a 100644
--- a/net/kiax/Makefile
+++ b/net/kiax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/01/25 00:00:03 reinoud Exp $
+# $NetBSD: Makefile,v 1.2 2006/01/25 16:39:13 xtraeme Exp $
#
DISTNAME= kiax-0.8.4
@@ -18,7 +18,7 @@ do-configure:
(cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile qkiax.pro)
(cd ${WRKSRC}/src && ${QTDIR}/bin/qmake -o Makefile src.pro)
-LDFLAGS+= -lossaudio
+LIBS+= ${LIBOSSAUDIO}
# Fix hardcoded paths
SUBST_CLASSES+= path
@@ -29,4 +29,5 @@ SUBST_SED.path= -e 's:/usr/local:${PREFIX}:g'
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"