summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2007-03-11 15:53:31 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2007-03-11 15:53:31 +0000
commit26bcd2b1058cd955b2b7363108f9c657d20d3e7e (patch)
tree0323267862c3e5c0dd7148b336291719fdc42776 /eclass/ghc-package.eclass
parentStable on ppc wrt bug 170310 (diff)
downloadhistorical-26bcd2b1058cd955b2b7363108f9c657d20d3e7e.tar.gz
historical-26bcd2b1058cd955b2b7363108f9c657d20d3e7e.tar.bz2
historical-26bcd2b1058cd955b2b7363108f9c657d20d3e7e.zip
Add place holder for virtual/ghc sanity check
Diffstat (limited to 'eclass/ghc-package.eclass')
-rw-r--r--eclass/ghc-package.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index e267fe677ae7..1aa4db011dd3 100644
--- a/eclass/ghc-package.eclass
+++ b/eclass/ghc-package.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.20 2006/10/04 17:45:35 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ghc-package.eclass,v 1.21 2007/03/11 15:53:31 kolmodin Exp $
#
# Author: Andres Loeh <kosmikus@gentoo.org>
# Maintained by: Haskell herd <haskell@gentoo.org>
@@ -250,6 +250,12 @@ ghc-listpkg() {
done
}
+# exported function: check if we have a consistent ghc installation
+ghc-package_pkg_setup() {
+ #place holder for sanity check of ghc vs ghc-bin version issues
+ return
+}
+
# exported function: registers the package-specific package
# configuration file
ghc-package_pkg_postinst() {
@@ -264,4 +270,4 @@ ghc-package_pkg_prerm() {
ghc-unregister-pkg "$(ghc-localpkgconf)"
}
-EXPORT_FUNCTIONS pkg_postinst pkg_prerm
+EXPORT_FUNCTIONS pkg_setup pkg_postinst pkg_prerm