summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-09-04 20:20:58 +0000
committerjoerg <joerg@pkgsrc.org>2007-09-04 20:20:58 +0000
commita3efedcba1e546e36e14bb9fb479b10a835d9fa6 (patch)
tree5bc120479771b09bec39e9dcd1ec50f7b721108b /ham
parentc222424266fa24ec9189b73cb4dfb01307ad03ef (diff)
downloadpkgsrc-a3efedcba1e546e36e14bb9fb479b10a835d9fa6.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"