summaryrefslogtreecommitdiff
path: root/net/kiax
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-01-25 16:39:13 +0000
committerxtraeme <xtraeme>2006-01-25 16:39:13 +0000
commitc2f434b1a692c4f986251744ca267f22ab4a2475 (patch)
tree559b51ed335a74973982cc45235cf99a61ac4f27 /net/kiax
parentcf8fd0de0eb77f7175388cbae49c3ff0bb65b806 (diff)
downloadpkgsrc-c2f434b1a692c4f986251744ca267f22ab4a2475.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).
Diffstat (limited to 'net/kiax')
-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"