pkgsrc/ham/gnuradio-audio-oss/Makefile
joerg a3efedcba1 If we force linkage with a library, link in the pthread dependency
as well, otherwise the config test for CC will fail.
2007-09-04 20:20:58 +00:00

17 lines
588 B
Makefile

# $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
.include "../../meta-pkgs/gnuradio/Makefile.common"
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 ${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"