summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-03-11 11:50:30 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-03-11 11:50:30 +0000
commit212183ff17e95c0092bebb84610a6e95e4ba04b5 (patch)
tree2dc56686c08e3a685b4ab4d180891cc51dd805a6 /dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
parentResurrect ltp. Work-in-progress to fix it properly. Package.masked until then. (diff)
downloadgentoo-2-212183ff17e95c0092bebb84610a6e95e4ba04b5.tar.gz
gentoo-2-212183ff17e95c0092bebb84610a6e95e4ba04b5.tar.bz2
gentoo-2-212183ff17e95c0092bebb84610a6e95e4ba04b5.zip
Make the wxhaskell package be exposed by default with ghc-6.2.2. Add ~sparc to KEYWORDS. See bug #124902
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild')
-rw-r--r--dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild b/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
index 271c8783c931..ab41230b8067 100644
--- a/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
+++ b/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
@@ -1,17 +1,16 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild,v 1.4 2006/02/19 18:50:26 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild,v 1.5 2006/03/11 11:50:30 dcoutts Exp $
inherit flag-o-matic wxwidgets ghc-package
DESCRIPTION="a portable and native GUI library for Haskell"
HOMEPAGE="http://wxhaskell.sourceforge.net/"
SRC_URI="mirror://sourceforge/wxhaskell/${PN}-src-${PV}.zip"
+
LICENSE="wxWinLL-3"
SLOT="0"
-
-KEYWORDS="~x86 ~ppc ~amd64"
-
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
RDEPEND=">=virtual/ghc-6.2
@@ -93,7 +92,10 @@ src_install() {
fi
# substitute for the ${wxhlibdir} in package files and register them
- sed -i -e "s:\${wxhlibdir}:${D}/usr/lib/${P}:" ${D}/usr/lib/${P}/*.pkg
+ # for ghc-6.2 change the package to be exposed by default.
+ sed -i -e "s:\${wxhlibdir}:${D}/usr/lib/${P}:" \
+ -e "s:auto = False:auto = True:" \
+ ${D}/usr/lib/${P}/*.pkg
ghc-setup-pkg ${D}/usr/lib/${P}/*.pkg
ghc-install-pkg
}