summaryrefslogtreecommitdiff
path: root/fonts/Xft2
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-19 18:51:01 +0000
committerjlam <jlam@pkgsrc.org>2004-02-19 18:51:01 +0000
commit58bc8697d329f5c570c151c90400c3c41d4bf3c9 (patch)
tree2a215fb740385ad8bf9e506fdd8f337ef447923f /fonts/Xft2
parentd08992014863669305dcd68586d8931fa3df98ca (diff)
downloadpkgsrc-58bc8697d329f5c570c151c90400c3c41d4bf3c9.tar.gz
Move the settings, which force the use of builtin versions of dependencies
if the builtin version of the package is being used, into a global location so that they're always executed.
Diffstat (limited to 'fonts/Xft2')
-rw-r--r--fonts/Xft2/buildlink3.mk13
1 files changed, 8 insertions, 5 deletions
diff --git a/fonts/Xft2/buildlink3.mk b/fonts/Xft2/buildlink3.mk
index 1152cc85e32..1835b6dc8a7 100644
--- a/fonts/Xft2/buildlink3.mk
+++ b/fonts/Xft2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2004/02/18 16:53:52 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2004/02/19 18:51:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFT2_BUILDLINK3_MK:= ${XFT2_BUILDLINK3_MK}+
@@ -124,12 +124,15 @@ BUILDLINK_DEPENDS+= Xft2
. endif
.endif
-.if !empty(XFT2_BUILDLINK3_MK:M+)
-. if !empty(BUILDLINK_USE_BUILTIN.Xft2:M[yY][eE][sS])
-BUILDLINK_PREFIX.Xft2= ${X11BASE}
-BUILDLINK_FILES.Xft2+= lib/pkgconfig/xft.pc
+.if !empty(BUILDLINK_USE_BUILTIN.Xft2:M[yY][eE][sS])
BUILDLINK_USE_BUILTIN.fontconfig= yes
BUILDLINK_USE_BUILTIN.Xrender= yes
+.endif
+
+.if !empty(XFT2_BUILDLINK3_MK:M+)
+. if !empty(BUILDLINK_USE_BUILTIN.Xft2:M[yY][eE][sS])
+BUILDLINK_PREFIX.Xft2= ${X11BASE}
+BUILDLINK_FILES.Xft2+= lib/pkgconfig/xft.pc
. endif
USE_X11= yes
. if !empty(BUILDLINK_CHECK_BUILTIN.Xft2:M[nN][oO])