summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-17 09:13:33 +0000
committerjlam <jlam>2004-02-17 09:13:33 +0000
commitb6f8021358691a78d15fb65403c8dca98f4d0078 (patch)
tree79add5a0e75387254da41f7bae99b834a6966c6b /fonts
parent17101f6fd66ebcb2528cdd6de92f0ab642c7cc2a (diff)
downloadpkgsrc-b6f8021358691a78d15fb65403c8dca98f4d0078.tar.gz
Don't include other buildlink3.mk files if we're just checking whether the
software is built-in.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontconfig/buildlink3.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/fonts/fontconfig/buildlink3.mk b/fonts/fontconfig/buildlink3.mk
index 7243384ea35..45b4bde2094 100644
--- a/fonts/fontconfig/buildlink3.mk
+++ b/fonts/fontconfig/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2004/02/16 22:47:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2004/02/17 09:13:33 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FONTCONFIG_BUILDLINK3_MK:= ${FONTCONFIG_BUILDLINK3_MK}+
@@ -103,9 +103,11 @@ BUILDLINK_PREFIX.fontconfig= ${X11BASE}
USE_X11= yes
BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.3
-. include "../../devel/zlib/buildlink3.mk"
-. include "../../graphics/freetype2/buildlink3.mk"
-. include "../../textproc/expat/buildlink3.mk"
+. if !empty(BUILDLINK_CHECK_BUILTIN.fontconfig:M[nN][oO])
+. include "../../devel/zlib/buildlink3.mk"
+. include "../../graphics/freetype2/buildlink3.mk"
+. include "../../textproc/expat/buildlink3.mk"
+. endif
.endif # FONTCONFIG_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}