pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/Xrender If Xrender>=0.8, then automatically use re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6ae62a355ac
branches:  trunk
changeset: 468752:c6ae62a355ac
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Feb 16 18:33:01 2004 +0000

description:
If Xrender>=0.8, then automatically use render>=0.8.

diffstat:

 x11/Xrender/buildlink3.mk |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r 2408587de471 -r c6ae62a355ac x11/Xrender/buildlink3.mk
--- a/x11/Xrender/buildlink3.mk Mon Feb 16 18:32:36 2004 +0000
+++ b/x11/Xrender/buildlink3.mk Mon Feb 16 18:33:01 2004 +0000
@@ -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 @@
 .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_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
 



Home | Main Index | Thread Index | Old Index