diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-07-29 07:27:43 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-07-29 07:27:43 +0000 |
commit | 8acbcaea777dfcd66bdb8f76e70c41ba848d3ae6 (patch) | |
tree | 7642c10693c41a81f0612bed87f01f9c390a4db8 /mk/dirs.mk | |
parent | 07f1ff3eeb5d53cba30a45a73d48fa8c94354cdf (diff) | |
download | pkgsrc-8acbcaea777dfcd66bdb8f76e70c41ba848d3ae6.tar.gz |
Depend on xorg-dirs where appropiate, as was done for XFree86 by jmmv@.
Diffstat (limited to 'mk/dirs.mk')
-rw-r--r-- | mk/dirs.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/dirs.mk b/mk/dirs.mk index 53dcd07851c..4e30bf85fb1 100644 --- a/mk/dirs.mk +++ b/mk/dirs.mk @@ -1,4 +1,4 @@ -# $NetBSD: dirs.mk,v 1.3 2004/04/14 21:15:01 jmmv Exp $ +# $NetBSD: dirs.mk,v 1.4 2004/07/29 07:27:43 xtraeme Exp $ # .if !defined(DIRS_MK) @@ -9,6 +9,7 @@ _USE_GNOME2_DIRS= # empty _USE_XDG_DIRS= # empty _USE_XDG_X11_DIRS= # empty _USE_XFREE86_DIRS= # empty +_USE_XORG_DIRS= # empty .for dir in ${USE_DIRS} pkg:= ${dir:C/-[^-]*$//} @@ -24,6 +25,8 @@ _USE_XDG_DIRS:= ${ver} _USE_XDG_X11_DIRS:= ${ver} . elif ${pkg} == "xdg" && ${_USE_XFREE86_DIRS} < ${ver} _USE_XFREE86_DIRS:= ${ver} +. elif ${pkg} == "xdg" && ${_USE_XORG_DIRS} < ${ver} +_USE_XORG_DIRS:= ${ver} . endif .endfor @@ -51,4 +54,8 @@ _USE_XFREE86_DIRS:= ${ver} . include "../../misc/XFree86-dirs/dirs.mk" .endif +.if !empty(_USE_XORG_DIRS) +. include "../../misc/xorg-dirs/dirs.mk" +.endif + .endif # !defined(DIRS_MK) |