summaryrefslogtreecommitdiff
path: root/fonts/fontconfig
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-19 19:12:26 +0000
committerjlam <jlam@pkgsrc.org>2004-02-19 19:12:26 +0000
commit356defdb766952dd6d67ca1551763bd7f73646e6 (patch)
tree9912182f0345b177aff0341962995315ac26aedd /fonts/fontconfig
parentffc8ab0b64344a199021aa22fb29f2c98d5e5f92 (diff)
downloadpkgsrc-356defdb766952dd6d67ca1551763bd7f73646e6.tar.gz
Add BUILDLINK_DEPENDS.<pkg> for dependencies in a section that is invoked
only if we're not using the built-in versions of the package.
Diffstat (limited to 'fonts/fontconfig')
-rw-r--r--fonts/fontconfig/buildlink3.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/fonts/fontconfig/buildlink3.mk b/fonts/fontconfig/buildlink3.mk
index a46b3db1225..f39cfb4e8c9 100644
--- a/fonts/fontconfig/buildlink3.mk
+++ b/fonts/fontconfig/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2004/02/19 18:51:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2004/02/19 19:12:26 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FONTCONFIG_BUILDLINK3_MK:= ${FONTCONFIG_BUILDLINK3_MK}+
@@ -93,6 +93,7 @@ BUILDLINK_USE_BUILTIN.fontconfig= NO
.if !empty(BUILDLINK_USE_BUILTIN.fontconfig:M[nN][oO])
BUILDLINK_DEPENDS.fontconfig+= fontconfig>=2.1nb2
+BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.3
. if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= fontconfig
. endif
@@ -109,10 +110,7 @@ BUILDLINK_USE_BUILTIN.expat= yes
BUILDLINK_PREFIX.fontconfig= ${X11BASE}
BUILDLINK_FILES.fontconfig+= lib/pkgconfig/fontconfig.pc
. endif
-
-USE_X11= yes
-BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.3
-
+USE_X11= yes
. if !empty(BUILDLINK_CHECK_BUILTIN.fontconfig:M[nN][oO])
. include "../../devel/zlib/buildlink3.mk"
. include "../../graphics/freetype2/buildlink3.mk"