diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-01 06:40:50 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-01 06:40:50 +0000 |
commit | 6114321176802b94b4070edc296007a63ed952d9 (patch) | |
tree | 93296ffd4e5be2469b397b8d3fd76ecc02856c17 /audio/icecast | |
parent | 94bb6c3d26a48c6d306f28ac240e49ef48076bcf (diff) | |
download | pkgsrc-6114321176802b94b4070edc296007a63ed952d9.tar.gz |
Convert to use pthread.buildlink.mk.
Diffstat (limited to 'audio/icecast')
-rw-r--r-- | audio/icecast/Makefile | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/audio/icecast/Makefile b/audio/icecast/Makefile index 2423d0d1a34..d15cd1c6ae5 100644 --- a/audio/icecast/Makefile +++ b/audio/icecast/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2002/05/15 07:28:51 martti Exp $ +# $NetBSD: Makefile,v 1.8 2002/08/01 06:40:50 jlam Exp $ # DISTNAME= icecast-1.3.12 @@ -9,18 +9,23 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.icecast.org/ COMMENT= Internet broadcasting system using Mpeg Layer III streaming -DEPENDS+= unproven-pthreads>=0.17:../../devel/unproven-pthreads -DEPENDS+= readline-4.*:../../devel/readline +PTHREAD_OPTS+= native +GNU_CONFIGURE= # defined +CONFIGURE_ARGS+= --with-readline \ + --with-libwrap \ + --with-python \ + --with-python-includes=${LOCALBASE}/include \ + --with-python-libraries=${LOCALBASE}/lib +CFLAGS+= -I${BUILDLINK_DIR}/include/readline -GNU_CONFIGURE= YES -CONFIGURE_ARGS+=--with-readline \ - --with-libwrap \ - --with-python \ - --with-python-includes=${LOCALBASE}/include \ - --with-python-libraries=${LOCALBASE}/lib -R= ${LOCALBASE}/include/readline -P= ${LOCALBASE}/pthreads -CONFIGURE_ENV+= CC='$P/bin/pgcc -I$P/include -I$R -L$P/lib' \ - CXX='$P/bin/pg++ -I$P/include -I$R -L$P/lib' +.include "../../devel/readline/buildlink.mk" +.include "../../security/tcp_wrappers/buildlink.mk" +.include "../../mk/pthread.buildlink.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") +. include "../../devel/unproven-pthreads/buildlink.mk" +PGCC= ${CC} -I${BUILDLINK_PREFIX.unproven-pthreads}/pthreads/include +CONFIGURE_ENV+= CC="${PGCC}" +.endif .include "../../mk/bsd.pkg.mk" |