diff options
Diffstat (limited to 'audio/icecast/Makefile')
-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" |