pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/fox bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9621917ca4d0
branches:  trunk
changeset: 470727:9621917ca4d0
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Thu Mar 11 17:22:55 2004 +0000

description:
bl3ify

diffstat:

 x11/fox/Makefile      |  14 +++++++-------
 x11/fox/buildlink3.mk |  28 ++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 7 deletions(-)

diffs (65 lines):

diff -r 072e58c422d4 -r 9621917ca4d0 x11/fox/Makefile
--- a/x11/fox/Makefile  Thu Mar 11 17:09:37 2004 +0000
+++ b/x11/fox/Makefile  Thu Mar 11 17:22:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/03 18:49:55 reed Exp $
+# $NetBSD: Makefile,v 1.17 2004/03/11 17:22:55 xtraeme Exp $
 #
 
 DISTNAME=      fox-1.0.43
@@ -10,7 +10,7 @@
 HOMEPAGE=      http://www.fox-toolkit.org/
 COMMENT=       Fast and extensive C++ GUI toolkit
 
-USE_BUILDLINK2=        # defined
+USE_BUILDLINK3=        # defined
 USE_X11=       # defined
 USE_LIBTOOL=   # defined
 GNU_CONFIGURE= # defined
@@ -20,9 +20,9 @@
 CONFIFURE_ARGS+=       --with-shm=yes
 CONFIGURE_ARGS+=       --enable-release
 
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/tiff/buildlink2.mk"
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 072e58c422d4 -r 9621917ca4d0 x11/fox/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fox/buildlink3.mk     Thu Mar 11 17:22:55 2004 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/11 17:22:55 xtraeme Exp $
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+FOX_BUILDLINK3_MK:=    ${FOX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    fox
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nfox}
+BUILDLINK_PACKAGES+=   fox
+
+.if !empty(FOX_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.fox+=                fox>=1.0.43nb2
+BUILDLINK_PKGSRCDIR.fox?=      ../../x11/fox
+
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+
+BUILDLINK_CPPFLAGS.fox+=       -I${BUILDLINK_PREFIX.fox}/include/fox
+CPPFLAGS+=                     ${BUILDLINK_CPPFLAGS.fox}
+
+.endif # FOX_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index