From 5fe57525b11a8ac569f50e5065aa457c1a5608a0 Mon Sep 17 00:00:00 2001 From: Luis Francisco Araujo Date: Fri, 8 Apr 2005 01:33:00 +0000 Subject: New hsshellscript release added. I also blocked hsshellscript-2.2.2 for ghc6.4 Package-Manager: portage-2.0.51.19 --- dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild') diff --git a/dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild b/dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild index f39a3f1a067d..ad1f347ab971 100644 --- a/dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild +++ b/dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild,v 1.1 2005/03/18 15:06:29 araujo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsshellscript/hsshellscript-2.2.2.ebuild,v 1.2 2005/04/08 01:33:00 araujo Exp $ inherit base eutils ghc-package @@ -13,7 +13,8 @@ SLOT="0" KEYWORDS="~x86" IUSE="" -DEPEND=">=virtual/ghc-6.2" +DEPEND=">=virtual/ghc-6.2 + !>=virtual/ghc-6.4" RDEPEND="" @@ -28,11 +29,9 @@ src_compile() { } src_install() { - sed -i "s:\${DEST_LIB}:$(ghc-libdir):" \ - ${S}/lib/hsshellscript.pkg - sed -i "s:\${DEST_IMPORTS}:$(ghc-libdir)/imports:" \ - ${S}/lib/hsshellscript.pkg ghc-setup-pkg ${S}/lib/hsshellscript.pkg + # Fix hsshellscript.pkg library path + ghc-fixlibpath "\${DEST_LIB}" "\${DEST_IMPORTS}" make install \ DESTDIR="${D}" \ DEST_LIB="$(ghc-libdir)" \ -- cgit v1.2.3-65-gdbad