diff options
author | markd <markd@pkgsrc.org> | 2012-12-15 21:21:27 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2012-12-15 21:21:27 +0000 |
commit | f0fc8e6d5df897221bf665e936828a4573686d6e (patch) | |
tree | 57f6c6b2ae584dcc0bb4c0c1415acaf76a514d5d /mk | |
parent | dd53ef2de163640031d1a0b7bf42b6802ac26a7e (diff) | |
download | pkgsrc-f0fc8e6d5df897221bf665e936828a4573686d6e.tar.gz |
Set X11_ENCODINGSDIR correctly for builtin case as well as modular.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 6 |
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 |