pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/liblive Convert to buildlink3. Also fix build wit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08fe11ab0bca
branches:  trunk
changeset: 472843:08fe11ab0bca
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon Apr 12 21:39:41 2004 +0000

description:
Convert to buildlink3.  Also fix build with gcc3.

diffstat:

 net/liblive/Makefile         |   4 ++--
 net/liblive/buildlink2.mk    |  31 -------------------------------
 net/liblive/buildlink3.mk    |  18 ++++++++++++++++++
 net/liblive/distinfo         |   4 +++-
 net/liblive/patches/patch-ab |  14 ++++++++++++++
 net/liblive/patches/patch-ac |  14 ++++++++++++++
 6 files changed, 51 insertions(+), 34 deletions(-)

diffs (123 lines):

diff -r e20debe92444 -r 08fe11ab0bca net/liblive/Makefile
--- a/net/liblive/Makefile      Mon Apr 12 21:38:18 2004 +0000
+++ b/net/liblive/Makefile      Mon Apr 12 21:39:41 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/20 12:22:19 agc Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/12 21:39:41 snj Exp $
 #
 
 DISTNAME=      live.2003.04.04
@@ -11,7 +11,7 @@
 COMMENT=       Set of C++ libraries for multimedia streaming
 
 WRKSRC=                ${WRKDIR}/live
-USE_BUILDLINK2=        YES
+USE_BUILDLINK3=        YES
 USE_LIBTOOL=   YES
 
 do-configure:
diff -r e20debe92444 -r 08fe11ab0bca net/liblive/buildlink2.mk
--- a/net/liblive/buildlink2.mk Mon Apr 12 21:38:18 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/04 22:37:34 rh Exp $
-#
-# This Makefile fragment is included by packages that use liblive.
-#
-# This file was created automatically using createbuildlink 2.5.
-#
-
-.if !defined(LIBLIVE_BUILDLINK2_MK)
-LIBLIVE_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+=                   liblive
-BUILDLINK_DEPENDS.liblive?=            liblive>=2003.04.04
-BUILDLINK_PKGSRCDIR.liblive?=          ../../net/liblive
-
-EVAL_PREFIX+=  BUILDLINK_PREFIX.liblive=liblive
-BUILDLINK_PREFIX.liblive_DEFAULT=      ${LOCALBASE}
-BUILDLINK_FILES.liblive+=      include/liblive/BasicUsageEnvironment/*.hh
-BUILDLINK_FILES.liblive+=      include/liblive/UsageEnvironment/*.hh
-BUILDLINK_FILES.liblive+=      include/liblive/groupsock/*.h
-BUILDLINK_FILES.liblive+=      include/liblive/groupsock/*.hh
-BUILDLINK_FILES.liblive+=      include/liblive/liveMedia/*.hh
-BUILDLINK_FILES.liblive+=      lib/libBasicUsageEnvironment.*
-BUILDLINK_FILES.liblive+=      lib/libUsageEnvironment.*
-BUILDLINK_FILES.liblive+=      lib/libgroupsock.*
-BUILDLINK_FILES.liblive+=      lib/libliveMedia.*
-
-BUILDLINK_TARGETS+=    liblive-buildlink
-
-liblive-buildlink: _BUILDLINK_USE
-
-.endif # LIBLIVE_BUILDLINK2_MK
diff -r e20debe92444 -r 08fe11ab0bca net/liblive/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/liblive/buildlink3.mk Mon Apr 12 21:39:41 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 21:39:41 snj Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+LIBLIVE_BUILDLINK3_MK:=        ${LIBLIVE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    liblive
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nliblive}
+BUILDLINK_PACKAGES+=   liblive
+
+.if !empty(LIBLIVE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.liblive+=    liblive>=2003.04.04
+BUILDLINK_PKGSRCDIR.liblive?=  ../../net/liblive
+.endif # LIBLIVE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r e20debe92444 -r 08fe11ab0bca net/liblive/distinfo
--- a/net/liblive/distinfo      Mon Apr 12 21:38:18 2004 +0000
+++ b/net/liblive/distinfo      Mon Apr 12 21:39:41 2004 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/04/04 22:37:33 rh Exp $
+$NetBSD: distinfo,v 1.2 2004/04/12 21:39:41 snj Exp $
 
 SHA1 (live.2003.04.04.tar.gz) = f5c7cffd92f5811c004c30e2b1f889f817539afb
 Size (live.2003.04.04.tar.gz) = 276978 bytes
 SHA1 (patch-aa) = dd4a99f255200d89b3bc9c6e709c53d8e4817e5c
+SHA1 (patch-ab) = c1db6185f37f61bf1645d122fbd480c2f9502c79
+SHA1 (patch-ac) = 61b890142c0d8870a245de0d50a3762266419e8c
diff -r e20debe92444 -r 08fe11ab0bca net/liblive/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/liblive/patches/patch-ab      Mon Apr 12 21:39:41 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2004/04/12 21:39:41 snj Exp $
+
+--- groupsock/Groupsock.cpp.orig       2004-04-12 14:32:16.000000000 -0700
++++ groupsock/Groupsock.cpp    2004-04-12 14:35:25.000000000 -0700
+@@ -26,7 +26,8 @@ along with this library; if not, write t
+ #if defined(__WIN32__) || defined(_WIN32)
+ #include <strstrea.h>
+ #else
+-#include <strstream.h>
++using namespace::std;
++#include <strstream>
+ #endif
+ #include <stdio.h>
+ 
diff -r e20debe92444 -r 08fe11ab0bca net/liblive/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/liblive/patches/patch-ac      Mon Apr 12 21:39:41 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2004/04/12 21:39:41 snj Exp $
+
+--- groupsock/NetInterface.cpp.orig    2004-04-12 14:35:56.000000000 -0700
++++ groupsock/NetInterface.cpp 2004-04-12 14:36:08.000000000 -0700
+@@ -25,7 +25,8 @@ along with this library; if not, write t
+ #include <strstrea.h>
+ #define _close closesocket
+ #else
+-#include <strstream.h>
++using namespace::std;
++#include <strstream>
+ #define _close close
+ #endif
+ 



Home | Main Index | Thread Index | Old Index