summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-12-13 00:52:24 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-12-13 00:52:24 +0000
commitda91909c933316bf245554eaebd2b30a49ad935b (patch)
tree7a6affa3760f30f7433c973994a8996f6ef5b3b2 /dev-haskell/wxhaskell
parentRemove unnecessary blocker. (diff)
downloadgentoo-2-da91909c933316bf245554eaebd2b30a49ad935b.tar.gz
gentoo-2-da91909c933316bf245554eaebd2b30a49ad935b.tar.bz2
gentoo-2-da91909c933316bf245554eaebd2b30a49ad935b.zip
Remove unnecessary blocker. Fix shell quoting.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-haskell/wxhaskell')
-rw-r--r--dev-haskell/wxhaskell/ChangeLog5
-rw-r--r--dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild23
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-haskell/wxhaskell/ChangeLog b/dev-haskell/wxhaskell/ChangeLog
index ce9a1bcf7125..23deb699c51e 100644
--- a/dev-haskell/wxhaskell/ChangeLog
+++ b/dev-haskell/wxhaskell/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-haskell/wxhaskell
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/ChangeLog,v 1.27 2007/10/31 13:11:43 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/ChangeLog,v 1.28 2007/12/13 00:52:24 dcoutts Exp $
+
+ 13 Dec 2007; Duncan Coutts <dcoutts@gentoo.org> wxhaskell-0.9.4.ebuild:
+ Remove unnecessary blocker.
31 Oct 2007; Duncan Coutts <dcoutts@gentoo.org> wxhaskell-0.9.4.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc
diff --git a/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild b/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
index fc7f2afb6306..a7f169d89122 100644
--- a/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
+++ b/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.12 2007/10/31 13:11:43 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/wxhaskell/wxhaskell-0.9.4.ebuild,v 1.13 2007/12/13 00:52:24 dcoutts Exp $
inherit flag-o-matic wxwidgets ghc-package multilib
@@ -14,7 +14,6 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc"
RDEPEND="<dev-lang/ghc-6.6
- !>=dev-lang/ghc-6.6
=x11-libs/wxGTK-2.6*"
DEPEND="${RDEPEND}
@@ -38,12 +37,12 @@ pkg_setup() {
src_unpack() {
unpack ${A}
# adapt to Gentoo path convention
- sed -i 's:/doc/html:/share/doc/html:' ${S}/configure
+ sed -i 's:/doc/html:/share/doc/html:' "${S}/configure"
# fix superfluous dependencies on hslibs packages
sed -i -e 's:,lang::' -e 's:,"lang"::' \
- -e 's:,concurrent::' -e 's:,"concurrent"::' ${S}/configure
+ -e 's:,concurrent::' -e 's:,"concurrent"::' "${S}/configure"
# fix Makefile to respect CXXFLAGS
- sed -i 's:^\(WXC-CXXFLAGS.*=\):\1\$(CXXFLAGS) :' ${S}/makefile
+ sed -i 's:^\(WXC-CXXFLAGS.*=\):\1\$(CXXFLAGS) :' "${S}/makefile"
}
src_compile() {
@@ -64,7 +63,7 @@ src_compile() {
--prefix=/usr \
--with-opengl \
--libdir=/usr/$(get_libdir)/${P} \
- --package-conf=${S}/$(ghc-localpkgconf) \
+ --package-conf="${S}/$(ghc-localpkgconf)" \
|| die "./configure failed"
emake -j1 || die "make failed"
@@ -82,21 +81,21 @@ src_install() {
emake -j1 install-files DESTDIR="${D}" || die "make install failed"
# the .so needs to be on the lib path
- mkdir -p ${D}/usr/$(get_libdir)
- for f in ${D}/usr/$(get_libdir)/${P}/libwxc-*.so; do
- mv ${f} ${D}/usr/$(get_libdir)/
+ mkdir -p "${D}/usr/$(get_libdir)"
+ for f in "${D}/usr/$(get_libdir)/${P}/"libwxc-*.so; do
+ mv ${f} "${D}/usr/$(get_libdir)/"
done
if use doc; then
dohtml -A haddock -r out/doc/*
- cp -r samples ${D}/usr/share/doc/${PF}
+ cp -r samples "${D}/usr/share/doc/${PF}"
fi
# substitute for the ${wxhlibdir} in package files and register them
# for ghc-6.2 change the package to be exposed by default.
sed -i -e "s:\${wxhlibdir}:${D}/usr/$(get_libdir)/${P}:" \
-e "s:auto = False:auto = True:" \
- ${D}/usr/$(get_libdir)/${P}/*.pkg
- ghc-setup-pkg ${D}/usr/$(get_libdir)/${P}/*.pkg
+ "${D}/usr/$(get_libdir)/${P}/"*.pkg
+ ghc-setup-pkg "${D}/usr/$(get_libdir)/${P}/"*.pkg
ghc-install-pkg
}