summaryrefslogtreecommitdiff
path: root/audio/icecast
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-01 06:40:50 +0000
committerjlam <jlam>2002-08-01 06:40:50 +0000
commitea0f433373ebe680ed1605d61fa08e24e334c6aa (patch)
tree93296ffd4e5be2469b397b8d3fd76ecc02856c17 /audio/icecast
parent33a84ea7ac2f8f208f9f5743b071424400cf5aa4 (diff)
downloadpkgsrc-ea0f433373ebe680ed1605d61fa08e24e334c6aa.tar.gz
Convert to use pthread.buildlink.mk.
Diffstat (limited to 'audio/icecast')
-rw-r--r--audio/icecast/Makefile31
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"