pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f978956d61f
branches:  trunk
changeset: 472899:8f978956d61f
user:      snj <snj%pkgsrc.org@localhost>
date:      Tue Apr 13 21:47:22 2004 +0000

description:
Convert to buildlink3.

diffstat:

 math/tasp-vsipl/Makefile      |   3 ++-
 math/tasp-vsipl/buildlink2.mk |  24 ------------------------
 math/tasp-vsipl/buildlink3.mk |  18 ++++++++++++++++++
 x11/xvattr/Makefile           |   6 +++---
 x11/xview-config/Makefile     |   4 ++--
 x11/xview-lib/Makefile        |   4 ++--
 x11/xview-lib/buildlink3.mk   |  18 ++++++++++++++++++
 7 files changed, 45 insertions(+), 32 deletions(-)

diffs (150 lines):

diff -r ccac42392fdd -r 8f978956d61f math/tasp-vsipl/Makefile
--- a/math/tasp-vsipl/Makefile  Tue Apr 13 21:44:42 2004 +0000
+++ b/math/tasp-vsipl/Makefile  Tue Apr 13 21:47:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:48:13 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/13 21:52:36 snj Exp $
 
 DISTNAME=      tvcpp0p8
 PKGNAME=       tasp-vsipl-20030710
@@ -12,6 +12,7 @@
 WRKSRC=                ${WRKDIR}/${DISTNAME}/lib
 DIST_SUBDIR=   tasp-vsipl
 
+USE_BUILDLINK3=        yes
 USE_X11=       yes
 
 post-extract:
diff -r ccac42392fdd -r 8f978956d61f math/tasp-vsipl/buildlink2.mk
--- a/math/tasp-vsipl/buildlink2.mk     Tue Apr 13 21:44:42 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.1 2003/07/10 12:43:09 jtb Exp $
-
-.if !defined(TASP_VSIPL_BUILDLINK2_MK)
-TASP_VSIPL_BUILDLINK2_MK=              # defined
-
-BUILDLINK_PACKAGES+=                   tasp-vsipl
-BUILDLINK_DEPENDS.tasp-vsipl?=         tasp-vsipl>=20030710
-BUILDLINK_PKGSRCDIR.tasp-vsipl?=       ../../math/tasp-vsipl
-BUILDLINK_DEPMETHOD.tasp-vsipl?=       build
-
-EVAL_PREFIX+=                          BUILDLINK_PREFIX.tasp-vsipl=tasp-vsipl
-BUILDLINK_PREFIX.tasp-vsipl_DEFAULT=   ${LOCALBASE}
-BUILDLINK_FILES.tasp-vsipl=            include/VU.h
-BUILDLINK_FILES.tasp-vsipl+=           include/VUX.h
-BUILDLINK_FILES.tasp-vsipl+=           include/vsipl.h
-BUILDLINK_FILES.tasp-vsipl+=           lib/libVU.*
-BUILDLINK_FILES.tasp-vsipl+=           lib/libVUX.*
-BUILDLINK_FILES.tasp-vsipl+=           lib/libvsip.*
-
-BUILDLINK_TARGETS+=                    tasp-vsipl-buildlink
-
-tasp-vsipl-buildlink: _BUILDLINK_USE
-
-.endif # TASP_VSIPL_BUILDLINK2_MK
diff -r ccac42392fdd -r 8f978956d61f math/tasp-vsipl/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/tasp-vsipl/buildlink3.mk     Tue Apr 13 21:47:22 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/13 21:52:36 snj Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+TASP_VSIPL_BUILDLINK3_MK:=     ${TASP_VSIPL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    tasp-vsipl
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ntasp-vsipl}
+BUILDLINK_PACKAGES+=   tasp-vsipl
+
+.if !empty(TASP_VSIPL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.tasp-vsipl+= tasp-vsipl>=20030710
+BUILDLINK_PKGSRCDIR.tasp-vsipl?=       ../../math/tasp-vsipl
+.endif # TASP_VSIPL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}
diff -r ccac42392fdd -r 8f978956d61f x11/xvattr/Makefile
--- a/x11/xvattr/Makefile       Tue Apr 13 21:44:42 2004 +0000
+++ b/x11/xvattr/Makefile       Tue Apr 13 21:47:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/07/17 22:57:04 grant Exp $
+# $NetBSD: Makefile,v 1.9 2004/04/13 21:47:22 snj Exp $
 
 DISTNAME=      xvattr-1.3
 PKGREVISION=   2
@@ -9,7 +9,7 @@
 HOMEPAGE=      http://www.dtek.chalmers.se/groups/dvd/
 COMMENT=       Modify Xv attributes
 
-USE_BUILDLINK2=                # defined
+USE_BUILDLINK3=                yes
 USE_X11=               # defined
 GNU_CONFIGURE=         # defined
 
@@ -19,5 +19,5 @@
 PKG_FAIL_REASON=       "${PKGNAME} requires libXv.a"
 .endif
 
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../x11/gtk/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ccac42392fdd -r 8f978956d61f x11/xview-config/Makefile
--- a/x11/xview-config/Makefile Tue Apr 13 21:44:42 2004 +0000
+++ b/x11/xview-config/Makefile Tue Apr 13 21:47:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/01/20 12:28:29 agc Exp $
+# $NetBSD: Makefile,v 1.18 2004/04/13 21:49:58 snj Exp $
 # $FreeBSD Id: Makefile,v 1.9 1998/05/04 03:34:50 steve Exp
 #
 
@@ -16,7 +16,7 @@
 EXTRACT_ELEMENTS=      ${DISTNAME}/config
 
 WRKSRC=                ${WRKDIR}/${EXTRACT_ELEMENTS}
-USE_BUILDLINK2=                # defined
+USE_BUILDLINK3=                yes
 USE_IMAKE=             # defined
 
 post-extract:
diff -r ccac42392fdd -r 8f978956d61f x11/xview-lib/Makefile
--- a/x11/xview-lib/Makefile    Tue Apr 13 21:44:42 2004 +0000
+++ b/x11/xview-lib/Makefile    Tue Apr 13 21:47:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2003/07/17 22:57:06 grant Exp $
+# $NetBSD: Makefile,v 1.23 2004/04/13 21:55:23 snj Exp $
 # $FreeBSD Id: Makefile,v 1.13 1997/07/17 15:13:03 max Exp
 #
 
@@ -17,7 +17,7 @@
 # builds, but binaries in../xview-clients all crash
 NOT_FOR_PLATFORM=       *-*-alpha
 
-USE_BUILDLINK2=                # defined
+USE_BUILDLINK3=                yes
 USE_IMAKE=             # defined
 
 post-install:
diff -r ccac42392fdd -r 8f978956d61f x11/xview-lib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xview-lib/buildlink3.mk       Tue Apr 13 21:47:22 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/13 21:55:23 snj Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+XVIEW_LIB_BUILDLINK3_MK:=      ${XVIEW_LIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    xview-lib
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nxview-lib}
+BUILDLINK_PACKAGES+=   xview-lib
+
+.if !empty(XVIEW_LIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.xview-lib+=  xview-lib>=3.2.1
+BUILDLINK_PKGSRCDIR.xview-lib?=        ../../x11/xview-lib
+.endif # XVIEW_LIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index