summaryrefslogtreecommitdiff
path: root/audio/libshout
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-14 18:56:51 +0000
committerjlam <jlam@pkgsrc.org>2004-02-14 18:56:51 +0000
commit41d9ccaacf300320b4bf315622acb0443ab8303a (patch)
tree5854d29f38b364280abb7e5bd47d2a05f64ddb19 /audio/libshout
parent9ba6c58fe178a8cb5b5a179b3e2638cfb0234ce3 (diff)
downloadpkgsrc-41d9ccaacf300320b4bf315622acb0443ab8303a.tar.gz
bl3ify and explicitly disable finding/using pkg-config so that the
shout-config script is generated and installed.
Diffstat (limited to 'audio/libshout')
-rw-r--r--audio/libshout/Makefile12
-rw-r--r--audio/libshout/buildlink3.mk19
2 files changed, 26 insertions, 5 deletions
diff --git a/audio/libshout/Makefile b/audio/libshout/Makefile
index 1119d085e4c..55315f46447 100644
--- a/audio/libshout/Makefile
+++ b/audio/libshout/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/02/14 17:21:33 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/14 18:56:51 jlam Exp $
#
DISTNAME= libshout-2.0
@@ -9,11 +9,13 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.gnu.org/directory/audio/ogg/libshout.html
COMMENT= Connects and sends data to icecast servers
-USE_BUILDLINK2= YES
-GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
PTHREAD_OPTS+= require
-.include "../../audio/libvorbis/buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --disable-pkgconfig
+
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libshout/buildlink3.mk b/audio/libshout/buildlink3.mk
new file mode 100644
index 00000000000..3fd065ca9c1
--- /dev/null
+++ b/audio/libshout/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 18:56:51 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSHOUT_BUILDLINK3_MK:= ${LIBSHOUT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libshout
+.endif
+
+.if !empty(LIBSHOUT_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libshout
+BUILDLINK_DEPENDS.libshout+= libshout>=2.0
+BUILDLINK_PKGSRCDIR.libshout?= ../../audio/libshout
+
+. include "../../audio/libvorbis/buildlink3.mk"
+. include "../../mk/pthread.buildlink3.mk"
+.endif # LIBSHOUT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}