summaryrefslogtreecommitdiff
path: root/net/kiax
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
commit441d28477e9100c45c84e7050fbd45f4ae73a32e (patch)
tree559b51ed335a74973982cc45235cf99a61ac4f27 /net/kiax
parent2e9870d7dadfd607ef404970fa1789694087beeb (diff)
downloadpkgsrc-441d28477e9100c45c84e7050fbd45f4ae73a32e.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"