pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/ham/gnuradio-audio-oss If we force linkage with a libr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb016a4395dc
branches:  trunk
changeset: 532920:eb016a4395dc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Sep 04 20:20:58 2007 +0000

description:
If we force linkage with a library, link in the pthread dependency
as well, otherwise the config test for CC will fail.

diffstat:

 ham/gnuradio-audio-oss/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r a4a5da29e41d -r eb016a4395dc ham/gnuradio-audio-oss/Makefile
--- a/ham/gnuradio-audio-oss/Makefile   Tue Sep 04 20:12:55 2007 +0000
+++ b/ham/gnuradio-audio-oss/Makefile   Tue Sep 04 20:20:58 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/08/08 03:00:39 wulf Exp $
+# $NetBSD: Makefile,v 1.9 2007/09/04 20:20:58 joerg Exp $
 
 PKGNAME=       gnuradio-audio-oss-${VERSION}
 COMMENT=       Open Sound System support for GNU Radio
@@ -9,8 +9,9 @@
 CONFIGURE_ARGS+=--enable-gr-audio-oss
 
 PYTHON_PATCH_SCRIPTS+= gr-audio-oss/src/qa_oss.py
-LDFLAGS = -lgnuradio-core
+LDFLAGS = -lgnuradio-core ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 
 .include "../../mk/oss.buildlink3.mk"
 .include "../../ham/gnuradio-core/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index