[project @ 2003-05-29 14:47:05 by reid]
authorreid <unknown>
Thu, 29 May 2003 14:47:05 +0000 (14:47 +0000)
committerreid <unknown>
Thu, 29 May 2003 14:47:05 +0000 (14:47 +0000)
Use --force which ghc-pkg'ing standalone libs because ghc-pkg is run before the libs have actually been installed.  It would be better to delay running ghc-pkg.

mk/package.mk

index 8b7eec4..4d3d257 100644 (file)
@@ -1,5 +1,5 @@
 # -----------------------------------------------------------------------------
-# $Id: package.mk,v 1.28 2003/05/29 13:36:39 simonmar Exp $
+# $Id: package.mk,v 1.29 2003/05/29 14:47:05 reid Exp $
 
 ifneq "$(PACKAGE)" ""
 
@@ -64,7 +64,7 @@ else # $(STANDALONE_PACKAGE) == "YES"
 # redefines it to point to GHC's libdir (bug or feature?).
 #
 install :: package.conf.installed
-       pkglibdir=$(libdir) $(GHC_PKG) --update-package <package.conf.installed
+       pkglibdir=$(libdir) $(GHC_PKG) --force --update-package <package.conf.installed
 
 endif # $(STANDALONE_PACKAGE)