summaryrefslogtreecommitdiff
path: root/mk/package.mk
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-05-23 10:00:04 +0000
committersimonmar <unknown>2003-05-23 10:00:04 +0000
commit37e0de2d206743f41ef7e2fe24d77e842eefaa5c (patch)
tree001252790258d5375bff4955b96681c390aa9d9a /mk/package.mk
parent3797ee40aae273b23590c79b5f722cd763cab803 (diff)
downloadhaskell-37e0de2d206743f41ef7e2fe24d77e842eefaa5c.tar.gz
[project @ 2003-05-23 10:00:04 by simonmar]
For STANDALONE_PACKAGE: Let the package configuration file refer to $(libdir) as ${pkglibdir}. Note we can't use ${libdir} because ghc-pkg already redefines it to point to GHC's libdir (bug or feature?).
Diffstat (limited to 'mk/package.mk')
-rw-r--r--mk/package.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/package.mk b/mk/package.mk
index 101c68f46f..5a3f433705 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# $Id: package.mk,v 1.26 2003/05/22 15:36:08 simonmar Exp $
+# $Id: package.mk,v 1.27 2003/05/23 10:00:04 simonmar Exp $
ifneq "$(PACKAGE)" ""
@@ -59,8 +59,12 @@ CLEAN_FILES += package.conf.installed package.conf.inplace
else # $(STANDALONE_PACKAGE) == "YES"
+# Let the package configuration file refer to $(libdir) as
+# ${pkglibdir}. Note we can't use ${libdir} because ghc-pkg already
+# redefines it to point to GHC's libdir (bug or feature?).
+#
install :: package.conf.installed
- $(GHC_PKG) --update-package <package.conf.installed
+ pkglibdir=$(libdir) $(GHC_PKG) --update-package <package.conf.installed
endif # $(STANDALONE_PACKAGE)