pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libshout bl3ify and explicitly disable finding/u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f6f2b9e3979
branches:  trunk
changeset: 468534:1f6f2b9e3979
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Feb 14 18:56:51 2004 +0000

description:
bl3ify and explicitly disable finding/using pkg-config so that the
shout-config script is generated and installed.

diffstat:

 audio/libshout/Makefile      |  12 +++++++-----
 audio/libshout/buildlink3.mk |  19 +++++++++++++++++++
 2 files changed, 26 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r cfa11cfa5fd0 -r 1f6f2b9e3979 audio/libshout/Makefile
--- a/audio/libshout/Makefile   Sat Feb 14 18:48:49 2004 +0000
+++ b/audio/libshout/Makefile   Sat Feb 14 18:56:51 2004 +0000
@@ -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 @@
 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 -r cfa11cfa5fd0 -r 1f6f2b9e3979 audio/libshout/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libshout/buildlink3.mk      Sat Feb 14 18:56:51 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index