summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-12-15 21:21:27 +0000
committermarkd <markd@pkgsrc.org>2012-12-15 21:21:27 +0000
commitf0fc8e6d5df897221bf665e936828a4573686d6e (patch)
tree57f6c6b2ae584dcc0bb4c0c1415acaf76a514d5d /mk
parentdd53ef2de163640031d1a0b7bf42b6802ac26a7e (diff)
downloadpkgsrc-f0fc8e6d5df897221bf665e936828a4573686d6e.tar.gz
Set X11_ENCODINGSDIR correctly for builtin case as well as modular.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 46beee81b62..26e60469c2b 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.328 2012/12/09 20:21:18 wiz Exp $
+# $NetBSD: bsd.prefs.mk,v 1.329 2012/12/15 21:21:27 markd Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -578,7 +578,11 @@ X11BASE= ${LOCALBASE}
X11PREFIX= ${LOCALBASE}
# Default directory for font encodings
+.if ${X11_TYPE} == "modular"
X11_ENCODINGSDIR?= ${X11BASE}/share/fonts/X11/encodings
+.else
+X11_ENCODINGSDIR?= ${X11BASE}/lib/X11/fonts/encodings
+.endif
IMAKE_MAN_SOURCE_PATH= man/man
IMAKE_MAN_SUFFIX= 1