pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5aaf72205c87
branches:  trunk
changeset: 468971:5aaf72205c87
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Feb 18 10:21:15 2004 +0000

description:
bl3ify

diffstat:

 print/xpp/Makefile     |  12 ++++++------
 x11/fltk/Makefile      |  14 +++++++-------
 x11/fltk/buildlink3.mk |  19 +++++++++++++++++++
 3 files changed, 32 insertions(+), 13 deletions(-)

diffs (88 lines):

diff -r e03d8f31d2f4 -r 5aaf72205c87 print/xpp/Makefile
--- a/print/xpp/Makefile        Wed Feb 18 09:52:23 2004 +0000
+++ b/print/xpp/Makefile        Wed Feb 18 10:21:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/01/24 14:58:00 grant Exp $
+# $NetBSD: Makefile,v 1.22 2004/02/18 10:21:43 jlam Exp $
 
 DISTNAME=      xpp-1.1
 PKGREVISION=   2
@@ -9,10 +9,10 @@
 HOMEPAGE=      http://cups.sourceforge.net/xpp/index.html
 COMMENT=       X Printing Panel
 
-USE_BUILDLINK2=        # defined
-USE_X11=       # defined
+USE_BUILDLINK3=        yes
+USE_X11=       yes
 USE_GNU_TOOLS+=        make
-GNU_CONFIGURE= # defined
+GNU_CONFIGURE= yes
 
 DOCDIR=                ${PREFIX}/share/doc/xpp
 
@@ -20,7 +20,7 @@
        ${INSTALL_DATA_DIR} ${DOCDIR}
        cd ${WRKSRC}; ${INSTALL_DATA} LICENSE README ${DOCDIR}
 
-.include "../../print/cups/buildlink2.mk"
-.include "../../x11/fltk/buildlink2.mk"
+.include "../../print/cups/buildlink3.mk"
+.include "../../x11/fltk/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r e03d8f31d2f4 -r 5aaf72205c87 x11/fltk/Makefile
--- a/x11/fltk/Makefile Wed Feb 18 09:52:23 2004 +0000
+++ b/x11/fltk/Makefile Wed Feb 18 10:21:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2004/02/18 05:07:34 ben Exp $
+# $NetBSD: Makefile,v 1.37 2004/02/18 10:21:15 jlam Exp $
 #
 
 DISTNAME=      fltk-1.1.4-source
@@ -18,16 +18,16 @@
 COMMENT=       Fast Light Tool Kit for graphical user interfaces
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME:S/-source//}
-USE_BUILDLINK2=                # defined
+USE_BUILDLINK3=                yes
 USE_LANGUAGES=         c c++
 USE_GNU_TOOLS+=                make
-USE_LIBTOOL=           # defined
-USE_X11BASE=           # defined
+USE_LIBTOOL=           yes
+USE_X11BASE=           yes
 TEST_TARGET=           test
 
-GNU_CONFIGURE=         # defined
+GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --enable-libtool=${LIBTOOL}
 
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e03d8f31d2f4 -r 5aaf72205c87 x11/fltk/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fltk/buildlink3.mk    Wed Feb 18 10:21:15 2004 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 10:21:15 jlam Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+FLTK_BUILDLINK3_MK:=   ${FLTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    fltk
+.endif
+
+.if !empty(FLTK_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=           fltk
+BUILDLINK_DEPENDS.fltk+=       fltk>=1.0.9
+BUILDLINK_PKGSRCDIR.fltk?=     ../../x11/fltk
+
+.  include "../../graphics/MesaLib/buildlink3.mk"
+.  include "../../graphics/glu/buildlink3.mk"
+.endif # FLTK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index