diff options
author | Andres Loeh <kosmikus@gentoo.org> | 2005-01-21 10:40:27 +0000 |
---|---|---|
committer | Andres Loeh <kosmikus@gentoo.org> | 2005-01-21 10:40:27 +0000 |
commit | 98c9d29c0be024d440b5a0fe5ee6e058e21fe942 (patch) | |
tree | 0ae7bc53f6e0d56c439142183eaa42221dc0f85a /dev-haskell | |
parent | Removed old version due to nhc98 dependency. (Manifest recommit) (diff) | |
download | gentoo-2-98c9d29c0be024d440b5a0fe5ee6e058e21fe942.tar.gz gentoo-2-98c9d29c0be024d440b5a0fe5ee6e058e21fe942.tar.bz2 gentoo-2-98c9d29c0be024d440b5a0fe5ee6e058e21fe942.zip |
Fixed bug #71713.
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/alex/ChangeLog | 5 | ||||
-rw-r--r-- | dev-haskell/alex/alex-2.0.ebuild | 18 |
2 files changed, 15 insertions, 8 deletions
diff --git a/dev-haskell/alex/ChangeLog b/dev-haskell/alex/ChangeLog index 686d39542f6a..25d271852e1b 100644 --- a/dev-haskell/alex/ChangeLog +++ b/dev-haskell/alex/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-haskell/alex # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.7 2005/01/01 18:03:20 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/ChangeLog,v 1.8 2005/01/21 10:40:27 kosmikus Exp $ + + 21 Jan 2005; Andres Loeh <kosmikus@gentoo.org> alex-2.0.ebuild: + Restored gcc compatibility (see bug #71713). 19 Oct 2004; Mamoru KOMACHI <usata@gentoo.org> alex-2.0.ebuild: Fixed missing dependencies; bug #68021. diff --git a/dev-haskell/alex/alex-2.0.ebuild b/dev-haskell/alex/alex-2.0.ebuild index 7d5123bb276a..17118c4e6d08 100644 --- a/dev-haskell/alex/alex-2.0.ebuild +++ b/dev-haskell/alex/alex-2.0.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/alex/alex-2.0.ebuild,v 1.7 2005/01/01 18:03:20 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/alex/alex-2.0.ebuild,v 1.8 2005/01/21 10:40:27 kosmikus Exp $ # # USE variable summary: # doc - Build extra documenation from DocBook sources, @@ -33,18 +33,22 @@ RDEPEND="" GHCPATH="${PATH}:/opt/ghc/bin" src_compile() { + # fix string gaps + sed -i -e 's/\\ $/" ++/' -e 's/^\([ \t]*\)\\/\1"/' alex/src/Main.hs + # fix version string + sed -i -e 's/ALEX_VERSION/'"${PV}"'/' -e 's/tail ""/tail $ ""/' alex/src/Main.hs + # unset SGML_CATALOG_FILES because documentation installation # breaks otherwise ... PATH="${GHCPATH}" SGML_CATALOG_FILES="" econf || die "econf failed" - # using make because emake behaved strangely on my machine - make || die + emake -j1 || die "make failed" # if documentation has been requested, build documentation ... if use doc; then cd ${S}/haddock/doc - emake html || die + emake html || die "make html failed" if use tetex; then - emake ps || die + emake ps || die "make ps failed" fi fi } @@ -60,7 +64,7 @@ src_install() { prefix="${D}/usr" \ datadir="${D}/usr/share/doc/${PF}" \ infodir="${D}/usr/share/info" \ - mandir="${D}/usr/share/man" || die + mandir="${D}/usr/share/man" || die "make install failed" cd ${S}/haddock dodoc CHANGES LICENSE README TODO @@ -71,7 +75,7 @@ src_install() { dosym alex.html /usr/share/doc/${PF}/html/index.html if use tetex; then docinto ps - dodoc alex.ps || die + dodoc alex.ps || die "dodoc failed" fi fi } |