From 26bcd2b1058cd955b2b7363108f9c657d20d3e7e Mon Sep 17 00:00:00 2001 From: Lennart Kolmodin Date: Sun, 11 Mar 2007 15:53:31 +0000 Subject: [PATCH] Add place holder for virtual/ghc sanity check --- eclass/ghc-package.eclass | 10 ++++++++-- 1 file 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 # Maintained by: Haskell herd @@ -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 -- 2.26.2