summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorjoerg <joerg>2007-09-04 20:20:58 +0000
committerjoerg <joerg>2007-09-04 20:20:58 +0000
commitb7aee58d28fd68cbe8e00dccb60eb2dddef3590c (patch)
tree5bc120479771b09bec39e9dcd1ec50f7b721108b /ham
parent9cd30237eccd515f5d02270510de45ee2e57aeb0 (diff)
downloadpkgsrc-b7aee58d28fd68cbe8e00dccb60eb2dddef3590c.tar.gz
If we force linkage with a library, link in the pthread dependency
as well, otherwise the config test for CC will fail.
Diffstat (limited to 'ham')
-rw-r--r--ham/gnuradio-audio-oss/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/ham/gnuradio-audio-oss/Makefile b/ham/gnuradio-audio-oss/Makefile
index 94536ccf4af..5996d3fb8bf 100644
--- a/ham/gnuradio-audio-oss/Makefile
+++ b/ham/gnuradio-audio-oss/Makefile
@@ -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 @@ CONF_FILES+= ${EGDIR}/gr-audio-oss.conf ${PKG_SYSCONFDIR}/gr-audio-oss.conf
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"