projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak ./boot
[ghc-hetmet.git]
/
distrib
/
Makefile-bin-vars.in
diff --git
a/distrib/Makefile-bin-vars.in
b/distrib/Makefile-bin-vars.in
index
18a73e7
..
cb69ac6
100644
(file)
--- a/
distrib/Makefile-bin-vars.in
+++ b/
distrib/Makefile-bin-vars.in
@@
-12,7
+12,10
@@
bindir = @bindir@
libdir = @libdir@/$(package)-$(version)
libexecdir = $(libdir)
datarootdir = @datarootdir@
libdir = @libdir@/$(package)-$(version)
libexecdir = $(libdir)
datarootdir = @datarootdir@
-datadir = @datadir@/$(package)-$(version)
+# datadir is set to libdir here as GHC needs package.conf and unlit
+# to be in the same place (and things like ghc-pkg need to agree on
+# where package.conf is, so we just set it globally).
+datadir = $(libdir)
platform = @TargetPlatform@
prefix = @prefix@
platform = @TargetPlatform@
prefix = @prefix@