diff options
author | Lennart Kolmodin <kolmodin@gentoo.org> | 2007-03-11 15:53:31 +0000 |
---|---|---|
committer | Lennart Kolmodin <kolmodin@gentoo.org> | 2007-03-11 15:53:31 +0000 |
commit | 6156df58bb666f412b203b4adc5f53dc95194c82 (patch) | |
tree | f192e2a5433bbb5e7ad2409f36d00b779cecbfe2 /eclass | |
parent | stable on x86. (diff) | |
download | gentoo-2-6156df58bb666f412b203b4adc5f53dc95194c82.tar.gz gentoo-2-6156df58bb666f412b203b4adc5f53dc95194c82.tar.bz2 gentoo-2-6156df58bb666f412b203b4adc5f53dc95194c82.zip |
Add place holder for virtual/ghc sanity check
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ghc-package.eclass | 10 |
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 |