summaryrefslogtreecommitdiff
path: root/x11/Xrender
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-17 09:13:33 +0000
committerjlam <jlam@pkgsrc.org>2004-02-17 09:13:33 +0000
commit0eb0b64bfbc9cb34393f6a2b03dc6237e36ad895 (patch)
tree79add5a0e75387254da41f7bae99b834a6966c6b /x11/Xrender
parentbad42f1f3f91c57da6094148f3d47577065caee8 (diff)
downloadpkgsrc-0eb0b64bfbc9cb34393f6a2b03dc6237e36ad895.tar.gz
Don't include other buildlink3.mk files if we're just checking whether the
software is built-in.
Diffstat (limited to 'x11/Xrender')
-rw-r--r--x11/Xrender/buildlink3.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/Xrender/buildlink3.mk b/x11/Xrender/buildlink3.mk
index 266b875b8fa..4cc5c8421b0 100644
--- a/x11/Xrender/buildlink3.mk
+++ b/x11/Xrender/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.22 2004/02/16 21:04:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.23 2004/02/17 09:13:33 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XRENDER_BUILDLINK3_MK:= ${XRENDER_BUILDLINK3_MK}+
@@ -129,10 +129,12 @@ BUILDLINK_DEPENDS+= Xrender
BUILDLINK_PREFIX.Xrender= ${X11BASE}
. endif
USE_X11= yes
-. if !empty(BUILDLINK_DEPENDS.Xrender:MXrender>=0.8*)
+. if !empty(BUILDLINK_CHECK_BUILTIN.Xrender:M[nN][oO])
+. if !empty(BUILDLINK_DEPENDS.Xrender:MXrender>=0.8*)
BUILDLINK_DEPENDS.render+= render>=0.8
+. endif
+. include "../../x11/render/buildlink3.mk"
. endif
-. include "../../x11/render/buildlink3.mk"
.endif # XRENDER_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}