summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-01-08 15:20:28 +0000
committerjoerg <joerg@pkgsrc.org>2007-01-08 15:20:28 +0000
commit4f08b1e9ba35be7791e8ea532f401742745c4e97 (patch)
treeb5eba61de450791d3dcf0824e41a8c5f0d3282d0 /mk
parentc3a3295415bbf81d809bf65920708e1088b7a58c (diff)
downloadpkgsrc-4f08b1e9ba35be7791e8ea532f401742745c4e97.tar.gz
Always use xdg-dirs for modular Xorg, xdg-x11-dirs would just redirect
anyway.
Diffstat (limited to 'mk')
-rw-r--r--mk/dirs.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/dirs.mk b/mk/dirs.mk
index 60676724e17..0d73d6097c9 100644
--- a/mk/dirs.mk
+++ b/mk/dirs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dirs.mk,v 1.8 2006/09/27 15:18:15 joerg Exp $
+# $NetBSD: dirs.mk,v 1.9 2007/01/08 15:20:28 joerg Exp $
#
.if !defined(DIRS_MK)
@@ -60,7 +60,11 @@ _USE_XORG_DIRS:= ${ver}
.endif
.if !empty(_USE_XDG_X11_DIRS)
-. include "../../misc/xdg-x11-dirs/dirs.mk"
+. if ${X11_TYPE} == "modular"
+. include "../../misc/xdg-dirs/dirs.mk"
+. else
+. include "../../misc/xdg-x11-dirs/dirs.mk"
+. endif
.endif
.if !empty(_USE_XORG_DIRS)