summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/ghc-pkg.wrapper2
-rw-r--r--utils/touchy/ghc.mk2
-rw-r--r--utils/unlit/ghc.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/ghc-pkg/ghc-pkg.wrapper b/utils/ghc-pkg/ghc-pkg.wrapper
index 27b8ceddf8..6d3c2af70e 100644
--- a/utils/ghc-pkg/ghc-pkg.wrapper
+++ b/utils/ghc-pkg/ghc-pkg.wrapper
@@ -1,5 +1,5 @@
#!/bin/sh
-PKGCONF=$datadir/package.conf
+PKGCONF=$topdir/package.conf
exec $executablename --global-conf $PKGCONF ${1+"$@"}
diff --git a/utils/touchy/ghc.mk b/utils/touchy/ghc.mk
index 3e5bb84cbc..fc9c845c8d 100644
--- a/utils/touchy/ghc.mk
+++ b/utils/touchy/ghc.mk
@@ -12,6 +12,6 @@
utils/touchy_dist_C_SRCS = touchy.c
utils/touchy_dist_PROG = $(GHC_TOUCHY_PGM)
-utils/touchy_dist_LIBEXEC = YES
+utils/touchy_dist_TOPDIR = YES
utils/touchy_dist_INSTALL = YES
$(eval $(call build-prog,utils/touchy,dist,0))
diff --git a/utils/unlit/ghc.mk b/utils/unlit/ghc.mk
index 709291e241..f46c3b32ad 100644
--- a/utils/unlit/ghc.mk
+++ b/utils/unlit/ghc.mk
@@ -12,7 +12,7 @@
utils/unlit_dist_C_SRCS = unlit.c
utils/unlit_dist_PROG = $(GHC_UNLIT_PGM)
-utils/unlit_dist_LIBEXEC = YES
+utils/unlit_dist_TOPDIR = YES
utils/unlit_dist_INSTALL = YES
$(eval $(call build-prog,utils/unlit,dist,0))