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/0c84d0e9a2cd
branches:  trunk
changeset: 472765:0c84d0e9a2cd
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon Apr 12 03:58:36 2004 +0000

description:
Convert to buildlink3.

diffstat:

 math/grace/Makefile    |  26 +++++++++++++-------------
 x11/Xbae/Makefile      |   6 +++---
 x11/Xbae/buildlink3.mk |  20 ++++++++++++++++++++
 3 files changed, 36 insertions(+), 16 deletions(-)

diffs (94 lines):

diff -r 59fff0192173 -r 0c84d0e9a2cd math/grace/Makefile
--- a/math/grace/Makefile       Mon Apr 12 03:41:51 2004 +0000
+++ b/math/grace/Makefile       Mon Apr 12 03:58:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2004/03/11 20:03:12 minskim Exp $
+# $NetBSD: Makefile,v 1.31 2004/04/12 04:02:14 snj Exp $
 #
 
 DISTNAME=      grace-5.1.14
@@ -15,7 +15,7 @@
 HOMEPAGE=      http://plasma-gate.weizmann.ac.il/Grace/
 COMMENT=       GRaphing, Advanced Computation and Exploration of data
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_X11BASE=           YES
 USE_GNU_TOOLS+=                make
 USE_FORTRAN=           YES
@@ -27,15 +27,15 @@
        ${RM} -f ${PREFIX}/bin/xmgrace
        ${LN} -s ${PREFIX}/grace/bin/xmgrace ${PREFIX}/bin
 
-.include "../../devel/netcdf/buildlink2.mk"
-.include "../../fonts/t1lib/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
-.include "../../math/fftw2/buildlink2.mk"
-.include "../../print/pdflib/buildlink2.mk"
-.include "../../x11/Xbae/buildlink2.mk"
-.include "../../x11/XmHTML/buildlink2.mk"
-.include "../../mk/motif.buildlink2.mk"
+.include "../../devel/netcdf/buildlink3.mk"
+.include "../../fonts/t1lib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../math/fftw2/buildlink3.mk"
+.include "../../print/pdflib/buildlink3.mk"
+.include "../../x11/Xbae/buildlink3.mk"
+.include "../../x11/XmHTML/buildlink3.mk"
+.include "../../mk/motif.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 59fff0192173 -r 0c84d0e9a2cd x11/Xbae/Makefile
--- a/x11/Xbae/Makefile Mon Apr 12 03:41:51 2004 +0000
+++ b/x11/Xbae/Makefile Mon Apr 12 03:58:36 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/02/14 17:21:55 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2004/04/12 03:58:36 snj Exp $
 #
 
 DISTNAME=      Xbae-4.9.1
@@ -9,7 +9,7 @@
 HOMEPAGE=      http://www.lesstif.org/Xbae.html
 COMMENT=       Motif-compatible widgets: XbaeMatrix, XbaeCaption, XbaeInput
 
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_X11BASE=           YES
 USE_LIBTOOL=           YES
 
@@ -25,5 +25,5 @@
        ${LN} -fs ${PREFIX}/share/aclocal/ac_find_xbae.m4 \
                ${LOCALBASE}/share/aclocal/ac_find_xbae.m4
 
-.include "../../mk/motif.buildlink2.mk"
+.include "../../mk/motif.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 59fff0192173 -r 0c84d0e9a2cd x11/Xbae/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/Xbae/buildlink3.mk    Mon Apr 12 03:58:36 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 03:58:36 snj Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+XBAE_BUILDLINK3_MK:=   ${XBAE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    Xbae
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:NXbae}
+BUILDLINK_PACKAGES+=   Xbae
+
+.if !empty(XBAE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.Xbae+=       Xbae>=4.8.4
+BUILDLINK_PKGSRCDIR.Xbae?=     ../../x11/Xbae
+.endif # XBAE_BUILDLINK3_MK
+
+.include "../../mk/motif.buildlink3.mk"
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index