pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/kiax Do not hardcode -lossaudio, the correct way i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21a58d22b581
branches:  trunk
changeset: 507050:21a58d22b581
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Wed Jan 25 16:39:13 2006 +0000

description:
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:

 net/kiax/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 5879b7df6ae4 -r 21a58d22b581 net/kiax/Makefile
--- a/net/kiax/Makefile Wed Jan 25 16:11:49 2006 +0000
+++ b/net/kiax/Makefile Wed Jan 25 16:39:13 2006 +0000
@@ -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 @@
        (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 @@
 
 .include "../../x11/qt3-libs/buildlink3.mk"
 .include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index