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.
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
-# $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 $
# redefines it to point to GHC's libdir (bug or feature?).
#
install :: package.conf.installed
# 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)
endif # $(STANDALONE_PACKAGE)