summaryrefslogtreecommitdiff
path: root/x11/Xrender
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-16 18:33:01 +0000
committerjlam <jlam@pkgsrc.org>2004-02-16 18:33:01 +0000
commit292b88ea48374adccf6ccdc6de8edcdafde88a23 (patch)
treea1e44193bf8e873f607ebd0c035a08534ffb1e21 /x11/Xrender
parentc2c51c39b978f32e0f5dbb45d800df194e8f5dc4 (diff)
downloadpkgsrc-292b88ea48374adccf6ccdc6de8edcdafde88a23.tar.gz
If Xrender>=0.8, then automatically use render>=0.8.
Diffstat (limited to 'x11/Xrender')
-rw-r--r--x11/Xrender/buildlink3.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/x11/Xrender/buildlink3.mk b/x11/Xrender/buildlink3.mk
index 4d9d76b637f..a5d622382c3 100644
--- a/x11/Xrender/buildlink3.mk
+++ b/x11/Xrender/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2004/02/16 12:43:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2004/02/16 18:33:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XRENDER_BUILDLINK3_MK:= ${XRENDER_BUILDLINK3_MK}+
@@ -118,12 +118,7 @@ BUILDLINK_USE_BUILTIN.Xrender= YES
.endif
.if !empty(BUILDLINK_USE_BUILTIN.Xrender:M[nN][oO])
-#
-# If we depend on the package, depend on the latest version with a library
-# minor number bump.
-#
-BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8.2
-BUILDLINK_DEPENDS.render+= render>=0.8
+BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8
. if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= Xrender
. endif
@@ -134,6 +129,9 @@ BUILDLINK_DEPENDS+= Xrender
BUILDLINK_PREFIX.Xrender= ${X11BASE}
. endif
USE_X11= yes
+. if !empty(BUILDLINK_DEPENDS.Xrender:MXrender>=0.8*)
+BUILDLINK_DEPENDS.render+= render>=0.8
+. endif
. include "../../x11/render/buildlink3.mk"
.endif # XRENDER_BUILDLINK3_MK