diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-19 19:12:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-19 19:12:26 +0000 |
commit | 356defdb766952dd6d67ca1551763bd7f73646e6 (patch) | |
tree | 9912182f0345b177aff0341962995315ac26aedd /x11 | |
parent | ffc8ab0b64344a199021aa22fb29f2c98d5e5f92 (diff) | |
download | pkgsrc-356defdb766952dd6d67ca1551763bd7f73646e6.tar.gz |
Add BUILDLINK_DEPENDS.<pkg> for dependencies in a section that is invoked
only if we're not using the built-in versions of the package.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Xrandr-mixedcase/buildlink3.mk | 4 | ||||
-rw-r--r-- | x11/Xrender/buildlink3.mk | 6 | ||||
-rw-r--r-- | x11/xcursor/buildlink3.mk | 10 |
3 files changed, 8 insertions, 12 deletions
diff --git a/x11/Xrandr-mixedcase/buildlink3.mk b/x11/Xrandr-mixedcase/buildlink3.mk index 1388f8aeae9..2e43737119c 100644 --- a/x11/Xrandr-mixedcase/buildlink3.mk +++ b/x11/Xrandr-mixedcase/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.11 2004/02/19 18:51:01 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2004/02/19 19:12:26 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ XRANDR_BUILDLINK3_MK:= ${XRANDR_BUILDLINK3_MK}+ @@ -119,6 +119,7 @@ BUILDLINK_USE_BUILTIN.Xrandr= NO .if !empty(BUILDLINK_USE_BUILTIN.Xrandr:M[nN][oO]) BUILDLINK_DEPENDS.Xrandr+= Xrandr>=1.0.1 +BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8 . if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= Xrandr . endif @@ -135,7 +136,6 @@ BUILDLINK_PREFIX.Xrandr= ${X11BASE} . endif USE_X11= yes . if !empty(BUILDLINK_CHECK_BUILTIN.Xrandr:M[nN][oO]) -BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8 . include "../../x11/randrext/buildlink3.mk" . include "../../x11/Xrender/buildlink3.mk" . endif diff --git a/x11/Xrender/buildlink3.mk b/x11/Xrender/buildlink3.mk index 892d4f3bda9..c57d312ffd4 100644 --- a/x11/Xrender/buildlink3.mk +++ b/x11/Xrender/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.27 2004/02/19 18:51:01 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.28 2004/02/19 19:12:26 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ XRENDER_BUILDLINK3_MK:= ${XRENDER_BUILDLINK3_MK}+ @@ -121,6 +121,7 @@ BUILDLINK_USE_BUILTIN.Xrender= NO .if !empty(BUILDLINK_USE_BUILTIN.Xrender:M[nN][oO]) BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8.2 +BUILDLINK_DEPENDS.render+= render>=0.8 . if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= Xrender . endif @@ -136,9 +137,6 @@ BUILDLINK_PREFIX.Xrender= ${X11BASE} . endif USE_X11= yes . 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 .endif # XRENDER_BUILDLINK3_MK diff --git a/x11/xcursor/buildlink3.mk b/x11/xcursor/buildlink3.mk index 3f4f55c9118..308b3a7c7ba 100644 --- a/x11/xcursor/buildlink3.mk +++ b/x11/xcursor/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.10 2004/02/19 18:51:01 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.11 2004/02/19 19:12:26 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ XCURSOR_BUILDLINK3_MK:= ${XCURSOR_BUILDLINK3_MK}+ @@ -82,6 +82,8 @@ BUILDLINK_USE_BUILTIN.xcursor= NO .endif .if !empty(BUILDLINK_USE_BUILTIN.xcursor:M[nN][oO]) +BUILDLINK_DEPENDS.xcursor+= xcursor>=1.1.1 +BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8 . if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= xcursor . endif @@ -92,15 +94,11 @@ BUILDLINK_USE_BUILTIN.Xrender= yes .endif .if !empty(XCURSOR_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.xcursor+= xcursor>=1.1.1 . if !empty(BUILDLINK_USE_BUILTIN.xcursor:M[yY][eE][sS]) BUILDLINK_PREFIX.xcursor= ${X11BASE} BUILDLINK_FILES.xcursor+= lib/pkgconfig/xcursor.pc . endif - -USE_X11= yes -BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8 - +USE_X11= yes . if !empty(BUILDLINK_CHECK_BUILTIN.xcursor:M[nN][oO]) . if !empty(BUILDLINK_USE_BUILTIN.xcursor:M[nN][oO]) . include "../../x11/Xfixes/buildlink3.mk" |