pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/fontconfig bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35e0b56c5371
branches:  trunk
changeset: 466873:35e0b56c5371
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Jan 24 01:57:01 2004 +0000

description:
bl3ify

diffstat:

 fonts/fontconfig/Makefile      |  20 +++++++++++---------
 fonts/fontconfig/buildlink3.mk |  22 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 9 deletions(-)

diffs (73 lines):

diff -r 566c412b4aa1 -r 35e0b56c5371 fonts/fontconfig/Makefile
--- a/fonts/fontconfig/Makefile Sat Jan 24 01:53:00 2004 +0000
+++ b/fonts/fontconfig/Makefile Sat Jan 24 01:57:01 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/01/22 08:38:29 grant Exp $
+# $NetBSD: Makefile,v 1.23 2004/01/24 01:57:01 jlam Exp $
 #
 
 DISTNAME=      fontconfig-2.2.1
@@ -14,8 +14,10 @@
 # sure to keep in step
 BUILDLINK_DEPENDS.freetype2=  freetype2>=2.0.9
 
+.include "../../mk/bsd.prefs.mk"
+
 GNU_CONFIGURE=         YES
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_LIBTOOL=           YES
 USE_PKGINSTALL=                YES
 USE_GNU_TOOLS+=                make
@@ -32,10 +34,10 @@
 CONFIGURE_ARGS+=       --with-expat-lib=${BUILDLINK_PREFIX.expat}/lib
 CONFIGURE_ARGS+=       --with-confdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-x
-FONT_PATH=             ${X11PREFIX}/lib/X11/fonts/TTF,${X11PREFIX}/lib/X11/fonts/Type1
-.include "../../mk/bsd.prefs.mk"
-.if ${X11BASE} != ${X11PREFIX}
-FONT_PATH2=            ,${X11BASE}/lib/X11/fonts,${X11BASE}/lib/X11/fonts/TTF,${X11BASE}/lib/X11/fonts/Type1
+
+FONT_PATH=     ${X11PREFIX}/lib/X11/fonts/TTF,${X11PREFIX}/lib/X11/fonts/Type1
+.if ${X11PREFIX} != ${X11BASE}
+FONT_PATH2=    ,${X11BASE}/lib/X11/fonts,${X11BASE}/lib/X11/fonts/TTF,${X11BASE}/lib/X11/fonts/Type1
 .endif
 CONFIGURE_ARGS+=       --with-add-fonts=${FONT_PATH}${FONT_PATH2}
 
@@ -44,7 +46,7 @@
 CONF_FILES+=   ${EGDIR}/fonts.dtd ${PKG_SYSCONFDIR}/fonts.dtd
 CONF_FILES+=   ${EGDIR}/local.conf ${PKG_SYSCONFDIR}/local.conf
 
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../textproc/expat/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 566c412b4aa1 -r 35e0b56c5371 fonts/fontconfig/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/fontconfig/buildlink3.mk    Sat Jan 24 01:57:01 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/24 01:57:01 jlam Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+FONTCONFIG_BUILDLINK3_MK:=     ${FONTCONFIG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    fontconfig
+.endif
+
+.if !empty(FONTCONFIG_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   fontconfig
+BUILDLINK_DEPENDS.fontconfig?=         fontconfig>=2.1nb1
+BUILDLINK_PKGSRCDIR.fontconfig?=       ../../fonts/fontconfig
+
+BUILDLINK_DEPENDS.freetype2+=  freetype2>=2.0.9
+
+.  include "../../devel/zlib/buildlink3.mk"
+.  include "../../graphics/freetype2/buildlink3.mk"
+.  include "../../textproc/expat/buildlink3.mk"
+.endif # FONTCONFIG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index