summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2010-03-14 12:29:30 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2010-03-14 12:29:30 +0000
commit084b9c0bec6c4697691681ce285dd5a8b9f6bb97 (patch)
tree730778c894a513b59bbe585d66bf235a1c4d12e9
parentRemove Email-MIME-Creator Email-MIME-Modifier Email-Simple-Creator XML-LibXML... (diff)
downloadgentoo-2-084b9c0bec6c4697691681ce285dd5a8b9f6bb97.tar.gz
gentoo-2-084b9c0bec6c4697691681ce285dd5a8b9f6bb97.tar.bz2
gentoo-2-084b9c0bec6c4697691681ce285dd5a8b9f6bb97.zip
Copied dev-util/darcs to dev-vcs/darcs. (repoman --force due to comitting new pkgs with stable keywords).
(Portage version: 2.1.7.17/cvs/Linux x86_64, RepoMan options: --force)
-rw-r--r--dev-vcs/darcs/ChangeLog482
-rw-r--r--dev-vcs/darcs/darcs-1.0.5.ebuild77
-rw-r--r--dev-vcs/darcs/darcs-1.0.6.ebuild80
-rw-r--r--dev-vcs/darcs/darcs-1.0.7.ebuild84
-rw-r--r--dev-vcs/darcs/darcs-1.0.8-r2.ebuild93
-rw-r--r--dev-vcs/darcs/darcs-1.0.9.ebuild99
-rw-r--r--dev-vcs/darcs/darcs-1.1.0_pre1.ebuild104
-rw-r--r--dev-vcs/darcs/darcs-2.0.2.ebuild103
-rw-r--r--dev-vcs/darcs/darcs-2.1.0-r1.ebuild96
-rw-r--r--dev-vcs/darcs/darcs-2.2.1.ebuild78
-rw-r--r--dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch84
-rw-r--r--dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch18
-rw-r--r--dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch39
-rw-r--r--dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff13
-rw-r--r--dev-vcs/darcs/metadata.xml8
15 files changed, 1458 insertions, 0 deletions
diff --git a/dev-vcs/darcs/ChangeLog b/dev-vcs/darcs/ChangeLog
new file mode 100644
index 000000000000..5a3c0adf1056
--- /dev/null
+++ b/dev-vcs/darcs/ChangeLog
@@ -0,0 +1,482 @@
+# ChangeLog for dev-vcs/darcs
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/ChangeLog,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+ 14 Mar 2010; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-1.0.5.ebuild,
+ +darcs-1.0.6.ebuild, +darcs-1.0.7.ebuild, +darcs-1.0.8-r2.ebuild,
+ +files/darcs-1.0.8-ghc66.patch, +darcs-1.0.9.ebuild,
+ +files/darcs-1.0.9-bashcomp.patch, +darcs-1.1.0_pre1.ebuild,
+ +files/darcs-1.1.0pre1-ghc68.patch, +darcs-2.0.2.ebuild,
+ +files/darcs-2.0.2-add-dummy-base-dependency.diff, +darcs-2.1.0-r1.ebuild,
+ +darcs-2.2.1.ebuild, +metadata.xml:
+ Moved from dev-util to dev-vcs.
+
+*darcs-2.3.1 (26 Jan 2010)
+
+ 26 Jan 2010; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.3.1.ebuild,
+ +files/darcs-2.3.1-ghc-6.12-rec-keyword.patch,
+ +files/darcs-2.3.1-haddock-cabal-1.8-break.patch:
+ Version bump.
+
+ 20 Jan 2010; Lennart Kolmodin <kolmodin@gentoo.org> darcs-2.0.2.ebuild:
+ epatch died due to missing cd "${S}", add it.
+
+ 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> darcs-2.2.1.ebuild:
+ Transfer Prefix keywords
+
+ 30 Aug 2009; Lennart Kolmodin <kolmodin@gentoo.org> darcs-2.0.2.ebuild:
+ Fix build system so that it builds with ghc 6.10, as this is the latest
+ stable package and thus is the default to users running stable systems.
+ Patch by Sergei Trofimovich <slyfox@inbox.ru>.
+ Also add sys-libs/zlib as dep, to fix bug #282661.
+
+ 25 Jul 2009; Lennart Kolmodin <kolmodin@gentoo.org> darcs-2.2.1.ebuild:
+ When building with USE=doc, make sure we have >=haddock-2.4.1.
+ See bug #278659, reported by Martin von Gagern <Martin.vGagern@gmx.net>.
+
+*darcs-2.2.1 (21 Jul 2009)
+
+ 21 Jul 2009; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.2.1.ebuild:
+ Version bump.
+
+*darcs-2.1.0-r1 (20 Oct 2008)
+
+ 20 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org> -darcs-2.1.0.ebuild,
+ +darcs-2.1.0-r1.ebuild:
+ Make sure the manual is built when the doc flag is set, the configure
+ argument had changed. Patch by Joachim Fasting <joachim.fasting@gmail.com>.
+
+ Also remove the dep on dev-haskell/http, as it is optional and yet not
+ keyworded on all arches darcs supports.
+
+ 19 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ -darcs-2.1.0_pre2.ebuild, -darcs-2.1.0_pre3.ebuild:
+ Remove pre-releases of darcs-2.1.0
+
+*darcs-2.1.0 (19 Oct 2008)
+
+ 19 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.1.0.ebuild:
+ Version bump
+
+ 18 Oct 2008; nixnut <nixnut@gentoo.org> darcs-2.0.2.ebuild:
+ Stable on ppc wrt bug 239368
+
+ 08 Oct 2008; Markus Meier <maekke@gentoo.org> darcs-2.0.2.ebuild:
+ amd64/x86 stable, bug #239368
+
+ 04 Oct 2008; Raúl Porcel <armin76@gentoo.org> darcs-2.0.2.ebuild:
+ alpha/ia64 stable wrt #239368
+
+*darcs-2.1.0_pre3 (04 Oct 2008)
+
+ 04 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ +darcs-2.1.0_pre3.ebuild:
+ Add the latest pre release of darcs 2.1.0, the third.
+
+ 02 Oct 2008; Ferris McCormick <fmccor@gentoo.org> darcs-2.0.2.ebuild:
+ Sparc stable --- Bug #239368 --- All tests pass and it installs as expected.
+
+ 02 Oct 2008; Jeroen Roovers <jer@gentoo.org> darcs-2.0.2.ebuild:
+ Stable for HPPA (bug #239368).
+
+ 02 Oct 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ darcs-2.1.0_pre2.ebuild:
+ Add ~hppa too, as previous versions work well with it.
+
+ 29 Sep 2008; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.9.ebuild:
+ Patch darcs-1.0.9 to add support for ghc-6.8.x
+
+*darcs-2.1.0_pre2 (29 Sep 2008)
+
+ 29 Sep 2008; Lennart Kolmodin <kolmodin@gentoo.org>
+ +darcs-2.1.0_pre2.ebuild:
+ Add a pre release of darcs-2.1.0
+
+ 26 Aug 2008; Raúl Porcel <armin76@gentoo.org> darcs-2.0.2.ebuild:
+ Add ~ia64 wrt #227677
+
+*darcs-2.0.2 (25 Aug 2008)
+
+ 25 Aug 2008; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-2.0.2.ebuild:
+ Bump to 2.0.2, first ebuild in the 2.x series.
+
+ 29 Jun 2008; Tobias Klausmann <klausman@gentoo.org>
+ darcs-1.1.0_pre1.ebuild:
+ Keyworded on alpha, bug #227677
+
+ 17 Jun 2008; Jeroen Roovers <jer@gentoo.org> darcs-1.0.9.ebuild,
+ darcs-1.1.0_pre1.ebuild:
+ Marked one stable for HPPA, another one ~hppa (bug #227677).
+
+ 25 May 2008; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
+ darcs-1.0.9.ebuild, darcs-1.1.0_pre1.ebuild:
+ Use virtual/latex-base instead of virtual/tetex.
+ This enables the user to use any latex implementation, see bug #222501.
+
+ 26 Jan 2008; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
+ darcs-1.0.9.ebuild, darcs-1.1.0_pre1.ebuild:
+ Fix qa bug #207449 and fix installing docs.
+
+ 30 Dec 2007; Lennart Kolmodin <kolmodin@gentoo.org>
+ files/darcs-1.1.0pre1-ghc68.patch, darcs-1.1.0_pre1.ebuild:
+ Rewrite the GHC version patch. It should now work with all versions of GHC
+ where darcs previously worked. This fixes bug #203507.
+
+ 30 Dec 2007; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild,
+ darcs-1.0.9.ebuild:
+ Add test that dev-tex/latex2html was built with USE=png or USE=gif for all
+ affected darcs versions as the docs documentation will fail otherwise.
+ This fixes bug #195801.
+
+ 21 Dec 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.1.0_pre1.ebuild:
+ Add missing deps on parsec and regex-compat. Fixes bug #202887.
+ Sadly have to drop some keywords because of the dep on the parsec package
+ which does not yet have all the arch keywords. Also fix some quoting issues
+ in the older versions of the ebuild.
+
+*darcs-1.1.0_pre1 (20 Dec 2007)
+
+ 20 Dec 2007; Duncan Coutts <dcoutts@gentoo.org>
+ +files/darcs-1.1.0pre1-ghc68.patch, darcs-1.0.9.ebuild,
+ +darcs-1.1.0_pre1.ebuild:
+ New version compatible with ghc-6.8. Mark older one as not working with
+ ghc-6.8.
+
+ 31 Oct 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.5.ebuild,
+ darcs-1.0.6.ebuild, darcs-1.0.7.ebuild, darcs-1.0.8-r2.ebuild:
+ Drop virtual/ghc in favour of dev-lang/ghc
+
+ 29 Aug 2007; Jeroen Roovers <jer@gentoo.org> darcs-1.0.9.ebuild:
+ Marked ~hppa too.
+
+ 28 Aug 2007; nixnut <nixnut@gentoo.org> darcs-1.0.9.ebuild:
+ Stable on ppc wrt bug 186845
+
+ 11 Aug 2007; Steve Dibb <beandog@gentoo.org> darcs-1.0.9.ebuild:
+ amd64 stable, bug 186845
+
+ 08 Aug 2007; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.9.ebuild:
+ Change virtual/ghc dependency into dev-lang/ghc to fix bug #188079.
+ Also correct a sed to correctly send the user's custom CFLAGS to the
+ assembler.
+
+ 07 Aug 2007; Markus Rothe <corsair@gentoo.org> darcs-1.0.9.ebuild:
+ Stable on ppc64; bug #186845
+
+ 07 Aug 2007; Raúl Porcel <armin76@gentoo.org> darcs-1.0.9.ebuild:
+ x86 stable wrt #186845
+
+ 06 Aug 2007; Ferris McCormick <fmccor@gentoo.org> darcs-1.0.9.ebuild:
+ Sparc stable --- Bug #186845 --- Passes all internal tests.
+
+ 27 Jul 2007; Duncan Coutts <dcoutts@gentoo.org> -darcs-1.0.4.ebuild:
+ Remove old version.
+
+*darcs-1.0.9 (11 Jun 2007)
+
+ 11 Jun 2007; Lennart Kolmodin <kolmodin@gentoo.org> +darcs-1.0.9.ebuild:
+ Version bump
+
+ 08 Jun 2007; Zac Medico <zmedico@gentoo.org> Manifest:
+ Fix broken manifest due to commit withot repoman.
+
+*darcs-1.0.8-r2 (07 Jun 2007)
+
+ 07 Jun 2007; Lennart Kolmodin <kolmodin@gentoo.org>
+ +files/darcs-1.0.9-bashcomp.patch, +darcs-1.0.8-r2.ebuild:
+ Patching to not use have() in the bash completion. Fixes bug #171001
+
+ 30 Apr 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ Add missing inherit eutils.
+
+ 29 Apr 2007; Lennart Kolmodin <kolmodin@gentoo.org> darcs-1.0.4.ebuild,
+ darcs-1.0.5.ebuild, darcs-1.0.6.ebuild, darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ Added ghc-6.6 blocks for 1.0.4, 1.0.5 and 1.0.6. Added proper extra-libs
+ deps to 1.0.7 and 1.0.8-r1. 1.0.4 also got a src_unpack which the otherones
+ already had, wrt compiling C code with correct C flags.
+
+ 16 Apr 2007; Markus Rothe <corsair@gentoo.org> darcs-1.0.8-r1.ebuild:
+ Stable on ppc64
+
+ 21 Mar 2007; Raúl Porcel <armin76@gentoo.org> darcs-1.0.8-r1.ebuild:
+ x86 stable
+
+ 09 Mar 2007; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.4.ebuild,
+ darcs-1.0.5.ebuild, darcs-1.0.6.ebuild, darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ Add dep on dev-libs/gmp as pointed out in bug #169848
+
+ 20 Oct 2006; Duncan Coutts <dcoutts@gentoo.org>
+ +files/darcs-1.0.8-ghc66.patch:
+ Fix bug #150326 again, hopefully for good this time!
+
+ 16 Oct 2006; Chris Parrott <cparrott@gentoo.org> darcs-1.0.7.ebuild,
+ darcs-1.0.8-r1.ebuild:
+ remove virtual/mta from DEPEND and add warning about mta
+
+ 07 Oct 2006; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.8-r1.ebuild:
+ Undo ghc-6.6-specific changes to darcs ebuild, hopefully fixing bug #150326
+
+*darcs-1.0.8-r1 (06 Oct 2006)
+
+ 06 Oct 2006; Luis F. Araujo <araujo@gentoo.org> +darcs-1.0.8-r1.ebuild:
+ Fixing bug #148038
+
+*darcs-1.0.8 (12 Aug 2006)
+
+ 12 Aug 2006; <kolmodin@gentoo.org> +darcs-1.0.8.ebuild:
+ Version bump. See #142785.
+ Thanks to Paulo Jorge de Oliveira Cantante de Matos for reminding us.
+
+*darcs-1.0.7 (16 Jun 2006)
+
+ 16 Jun 2006; Duncan Coutts <dcoutts@gentoo.org> +darcs-1.0.7.ebuild:
+ New version. Minor ebuild cleanup, particularly in the way docs are built.
+
+ 21 May 2006; Markus Rothe <corsair@gentoo.org> darcs-1.0.5.ebuild:
+ Stable on ppc64
+
+ 17 May 2006; Diego Pettenò <flameeyes@gentoo.org> darcs-1.0.6.ebuild:
+ Add ~x86-fbsd keyword (before I forget), although this requires masked
+ ghc/ghc-bin on FreeBSD.
+
+ 27 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.6.ebuild:
+ Marked ~ia64
+
+ 27 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> darcs-1.0.6.ebuild:
+ Fix for ia64. Not added ia64 to KEYWORDS yet since it depends on ghc which
+ is still p.masked for ia64.
+
+ 24 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> darcs-1.0.6.ebuild:
+ Marked ~alpha.
+
+*darcs-1.0.6 (15 Mar 2006)
+
+ 15 Mar 2006; Andres Loeh <kosmikus@gentoo.org> -darcs-1.0.2.ebuild,
+ -darcs-1.0.3.ebuild, +darcs-1.0.6.ebuild:
+ New version.
+
+ 01 Mar 2006; Markus Rothe <corsair@gentoo.org> darcs-1.0.5.ebuild:
+ Added ~ppc64; bug #124469
+
+ 14 Feb 2006; <duncan@gentoo.org> darcs-1.0.5.ebuild:
+ Marked ~sparc. Fixed use of CFLAGS which casued problems on sparc.
+
+ 10 Feb 2006; <duncan@gentoo.org> -darcs-1.0.5_rc1.ebuild,
+ -darcs-1.0.5_rc2.ebuild:
+ Remove release candidates 1.0.5_rc1 and 1.0.5_rc2 since 1.0.5 available.
+
+ 11 Jan 2006; Mark Loeser <halcy0n@gentoo.org> darcs-1.0.5.ebuild:
+ Stable on x86; bug #112909
+
+ 11 Jan 2006; Luca Barbato <lu_zero@gentoo.org> darcs-1.0.5.ebuild:
+ Marked ppc
+
+ 24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> darcs-1.0.3.ebuild:
+ Stable on ppc.
+
+*darcs-1.0.5 (07 Dec 2005)
+
+ 07 Dec 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.5.ebuild:
+ New release.
+
+ 05 Dec 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-1.0.1.ebuild,
+ -darcs-1.0.3_rc1.ebuild:
+ Cleanup.
+
+*darcs-1.0.5_rc2 (04 Dec 2005)
+
+ 04 Dec 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.5_rc2.ebuild:
+ New release candidate. Removed some old ebuilds.
+
+*darcs-1.0.5_rc1 (25 Nov 2005)
+
+ 25 Nov 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.5_rc1.ebuild:
+ New release candidate.
+
+ 20 Nov 2005; Mark Loeser <halcy0n@gentoo.org> darcs-1.0.3.ebuild:
+ Stable on x86; bug #112909
+
+*darcs-1.0.4 (17 Nov 2005)
+
+ 17 Nov 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.4.ebuild:
+ New version (requested in bug #112847).
+
+ 08 Aug 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.3_rc1.ebuild,
+ darcs-1.0.3.ebuild:
+ Restored missing ~amd64 flags.
+
+*darcs-1.0.3 (26 Jul 2005)
+
+ 26 Jul 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.3.ebuild:
+ New version.
+
+ 10 May 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.3_rc1.ebuild:
+ darcs-1.0.3_rc1 must be built with ghc-6.2.2 or later, fixing bug #92152.
+
+ 03 May 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.1.ebuild,
+ darcs-1.0.2.ebuild, darcs-1.0.3_rc1.ebuild:
+ Darcs needs an mta to operate correctly.
+
+ 02 May 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-0.9.23.ebuild:
+ Cleaning up.
+
+*darcs-1.0.3_rc1 (02 May 2005)
+
+ 02 May 2005; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.3_rc1.ebuild:
+ New release candidate, which supports compilation with ghc-6.4.
+
+ 21 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> darcs-1.0.2.ebuild:
+ Stable on ppc.
+
+ 24 Mar 2005; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.2.ebuild:
+ Marked stable on x86.
+
+ 19 Mar 2005; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.23.ebuild,
+ darcs-1.0.1.ebuild, darcs-1.0.2.ebuild:
+ darcs does not currently build with ghc-6.4, thus it is blocked by this
+ compiler version. Added test phase for darcs-1.0.2.
+
+*darcs-1.0.2 (15 Feb 2005)
+
+ 15 Feb 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-1.0.0.ebuild,
+ +darcs-1.0.2.ebuild:
+ New version.
+
+ 17 Jan 2005; Andres Loeh <kosmikus@gentoo.org> -darcs-0.9.20.ebuild,
+ darcs-0.9.23.ebuild, darcs-1.0.1.ebuild:
+ Disabled wxwindows USE flag in 0.9.23 because of bug #77559. Marked 1.0.1
+ stable on x86.
+
+*darcs-1.0.1 (15 Dec 2004)
+
+ 15 Dec 2004; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.1.ebuild:
+ New version.
+
+ 25 Nov 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0.ebuild:
+ Removed wxhaskell dependency, because wxhaskell features are currently
+ disabled. Added ~amd64 flag (bug #58590).
+
+ 08 Nov 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0.ebuild:
+ Ebuild cleanup.
+
+*darcs-1.0.0 (08 Nov 2004)
+
+ 08 Nov 2004; Andres Loeh <kosmikus@gentoo.org> +darcs-1.0.0.ebuild,
+ -darcs-1.0.0_rc1.ebuild, -darcs-1.0.0_rc3.ebuild:
+ Version 1.0.0 released.
+
+*darcs-1.0.0_rc3 (21 Oct 2004)
+
+ 21 Oct 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.22.ebuild,
+ darcs-1.0.0_rc3.ebuild:
+ Version bump, closing bug #68064.
+
+ 24 Sep 2004; <SeJo@gentoo.org> darcs-0.9.23.ebuild:
+ stable bump due to bug 59753
+
+ 24 Aug 2004; Andres Loeh <kosmikus@gentoo.org> darcs-1.0.0_rc1.ebuild:
+ Distribution contains compiled filed. Added "make clean" (#61433).
+
+*darcs-1.0.0_rc1 (23 Aug 2004)
+
+ 23 Aug 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.21.ebuild,
+ darcs-1.0.0_rc1.ebuild:
+ New version.
+
+*darcs-0.9.23 (30 Jul 2004)
+
+ 30 Jul 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.19.ebuild,
+ darcs-0.9.23.ebuild:
+ New version.
+
+*darcs-0.9.22 (29 Jun 2004)
+
+ 29 Jun 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.22.ebuild:
+ New version.
+
+*darcs-0.9.21 (13 Jun 2004)
+
+ 13 Jun 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild,
+ darcs-0.9.20.ebuild, darcs-0.9.21.ebuild:
+ Marked 0.9.20 stable for x86 (bug #53293). Added new version 0.9.21.
+
+*darcs-0.9.20 (17 May 2004)
+
+ 17 May 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.20.ebuild:
+ Version bump.
+
+ 12 Apr 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild,
+ darcs-0.9.19.ebuild:
+ Building with -doc did not work due to permission problem (#47546).
+
+*darcs-0.9.19 (12 Apr 2004)
+
+ 12 Apr 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild,
+ darcs-0.9.19.ebuild:
+ New version. Fixed RDEPEND on wxhaskell.
+
+ 18 Mar 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild:
+ Experimental wxHaskell GUI is now built if wxwindows USE flag is set.
+
+*darcs-0.9.17 (25 Feb 2004)
+
+ 25 Feb 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.17.ebuild:
+ New version.
+
+*darcs-0.9.16 (18 Feb 2004)
+
+ 18 Feb 2004; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.13.ebuild,
+ darcs-0.9.16.ebuild:
+ New version.
+
+*darcs-0.9.15 (16 Dec 2003)
+
+ 16 Dec 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.12.ebuild,
+ darcs-0.9.15.ebuild:
+ Version bump.
+
+*darcs-0.9.14 (11 Nov 2003)
+
+ 11 Nov 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.14.ebuild:
+ Version bump.
+
+ 22 Oct 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.13.ebuild:
+ Corrected dependency to teTeX.
+
+*darcs-0.9.13 (22 Sep 2003)
+
+ 22 Sep 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.13.ebuild:
+ New version.
+
+*darcs-0.9.12 (31 Jul 2003)
+
+ 31 Jul 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.11.ebuild,
+ darcs-0.9.12.ebuild:
+ Version bump. Both 0.9.11 and 0.9.12 should compile with GHC 6 now.
+
+ 10 Jul 2003; Andres Loeh <kosmikus@gentoo.org> :
+ Updated digest for darcs-0.9.10
+
+ 04 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> darcs-0.9.10.ebuild:
+ Moved some stuff from script body into src_compile where it belongs
+
+*darcs-0.9.11 (04 Jul 2003)
+
+ 04 Jul 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.11.ebuild:
+ Version bump. This version has an autoconf-base build system. Also updated
+ the digest because the author has changed the archive.
+
+*darcs-0.9.10 (03 Jul 2003)
+
+ 03 Jul 2003; Andres Loeh <kosmikus@gentoo.org> darcs-0.9.10.ebuild,
+ darcs-0.9.11.ebuild:
+ Initial import. darcs is a version control system with advanced underlying
+ theory. It is written in Haskell. Thanks to Peter Simons
+ <simons+gentoo@cryp.to> for pushing me (bug 23771) to do this.
+
diff --git a/dev-vcs/darcs/darcs-1.0.5.ebuild b/dev-vcs/darcs/darcs-1.0.5.ebuild
new file mode 100644
index 000000000000..d064372d932d
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.5.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base fixheadtails eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc ppc64 ~sparc x86"
+IUSE="doc"
+# disabled wxwindows use flag for now, as I got build errors
+
+DEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ <dev-lang/ghc-6.6
+ doc? ( virtual/latex-base
+ dev-tex/latex2html )"
+# wxwindows? ( dev-haskell/wxhaskell )
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+# wxwindows? ( dev-haskell/wxhaskell )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+ ht_fix_all
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+}
+
+src_compile() {
+ local myconf
+# myconf="`use_with wxwindows wx`"
+ # distribution contains garbage files
+ make clean || die "make clean failed"
+ if use doc ; then
+ sed -i "s:/doc:/doc/${PF}:" GNUmakefile
+ else
+ sed -i \
+ -e 's: installdocs::' \
+ -e 's:^.*BUILDDOC.*yes.*$::' \
+ -e 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \
+ configure
+ fi
+ econf ${myconf} || die "configure failed"
+ echo 'INSTALLWHAT=installbin' >> autoconf.mk
+ make all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "installation failed"
+}
diff --git a/dev-vcs/darcs/darcs-1.0.6.ebuild b/dev-vcs/darcs/darcs-1.0.6.ebuild
new file mode 100644
index 000000000000..71e0f11d3a2e
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.6.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.6.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+# disabled wxwindows use flag for now, as I got build errors
+
+DEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ <dev-lang/ghc-6.6
+ doc? ( virtual/latex-base
+ dev-tex/latex2html )"
+# wxwindows? ( dev-haskell/wxhaskell )
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+# wxwindows? ( dev-haskell/wxhaskell )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+}
+
+src_compile() {
+ local myconf
+# myconf="`use_with wxwindows wx`"
+ # distribution contains garbage files
+ make clean || die "make clean failed"
+ if use doc ; then
+ sed -i "s:/doc:/doc/${PF}:" GNUmakefile
+ else
+ sed -i \
+ -e 's: installdocs::' \
+ -e 's:^.*BUILDDOC.*yes.*$::' \
+ -e 's/^.*TARGETS.*\(darcs\.ps\|manual\).*$/:/' \
+ configure
+ fi
+ econf ${myconf} || die "configure failed"
+ echo 'INSTALLWHAT=installbin' >> autoconf.mk
+ make all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "installation failed"
+}
diff --git a/dev-vcs/darcs/darcs-1.0.7.ebuild b/dev-vcs/darcs/darcs-1.0.7.ebuild
new file mode 100644
index 000000000000..e4efad2a7f78
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.7.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.7.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ dev-haskell/html
+ dev-haskell/mtl
+ dev-haskell/quickcheck
+ >=dev-lang/ghc-6.2.2
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/darcs-1.0.8-ghc66.patch"
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ if use doc; then
+ dodoc "${S}/darcs.ps"
+ dohtml "${S}/manual/"*
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-1.0.8-r2.ebuild b/dev-vcs/darcs/darcs-1.0.8-r2.ebuild
new file mode 100644
index 000000000000..960c889ba995
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.8-r2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.8-r2.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ dev-haskell/html
+ dev-haskell/mtl
+ dev-haskell/quickcheck
+ >=dev-lang/ghc-6.2.2
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-ghc66.patch"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/darcs.ps"
+ dohtml -r "${S}/manual/"*
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-1.0.9.ebuild b/dev-vcs/darcs/darcs-1.0.9.ebuild
new file mode 100644
index 000000000000..ea2d642011e4
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.0.9.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.0.9.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://abridgegame.org/darcs"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://abridgegame.org/darcs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ sys-apps/diffutils
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ # For GHC 6.8* compatibility, make sure
+ # * the new openFd/fdToHandle API is found
+ # * to use the containers package, if it exists
+ # Works with all GHC versions
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.1.0pre1-ghc68.patch"
+
+ epatch "${FILESDIR}/${P}-bashcomp.patch"
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS) $(CPPFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild b/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild
new file mode 100644
index 000000000000..2f1b9a397ad9
--- /dev/null
+++ b/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-1.1.0_pre1.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://darcs.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/parsec
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ # For GHC 6.8* compatibility, make sure
+ # * the new openFd/fdToHandle API is found
+ # * to use the containers package, if it exists
+ # Works with all GHC versions
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.1.0pre1-ghc68.patch"
+
+ pushd tools
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+ popd
+
+ # If we're going to use the CFLAGS with GHC's -optc flag then we'd better
+ # use it with -opta too or it'll break with some CFLAGS, eg -mcpu on sparc
+ sed -i 's:\($(addprefix -optc,$(CFLAGS) $(CPPFLAGS))\):\1 $(addprefix -opta,$(CFLAGS)):' \
+ "${S}/autoconf.mk.in"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ # Since we've patched the build system:
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-2.0.2.ebuild b/dev-vcs/darcs/darcs-2.0.2.ebuild
new file mode 100644
index 000000000000..44264aa00ca9
--- /dev/null
+++ b/dev-vcs/darcs/darcs-2.0.2.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.0.2.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils ghc-package
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://darcs.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/parsec
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ sys-libs/zlib
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-2.0.2-add-dummy-base-dependency.diff"
+ cd "${S}/tools"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ sed -i 's/-Werror//' "${S}/GNUmakefile"
+
+ #emulate: CABAL_CONFIGURE_FLAGS="--constraint=base<4"
+ # ghc-6.4: base-1; ghc-6.6.1: base-2; ghc-6.8: base-3; ghc-6.10: base-3, base-4
+ base_version="$($(ghc-getghcpkg) list --simple-output | tr " " "\n" | egrep '^base-[1-3]')"
+ sed -i "s@, base ,@, $base_version ,@" "${S}/aclocal.m4"
+ sed -i "s@-package base @-package $base_version @" "${S}/autoconf.mk.in"
+
+ cd "${S}"
+ sed -i 's/-Werror//' "${S}/aclocal.m4"
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+ # use --enable-bytestring?
+ econf $(use_with doc docs) \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-2.1.0-r1.ebuild b/dev-vcs/darcs/darcs-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..70b8c70da6f6
--- /dev/null
+++ b/dev-vcs/darcs/darcs-2.1.0-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.1.0-r1.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+inherit base autotools eutils
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+MY_P0="${P/_rc/rc}"
+MY_P="${MY_P0/_pre/pre}"
+SRC_URI="http://darcs.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/parsec
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ dev-haskell/network
+ dev-haskell/filepath
+ sys-libs/zlib
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ base_src_unpack
+
+ cd "${S}/tools"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+
+ cd "${S}"
+ # Since we've patched the build system:
+ eautoreconf
+}
+
+src_compile() {
+ # use --enable-bytestring?
+ econf $(use_with doc manual) \
+ --disable-haskeline \
+ --disable-haskell-zlib \
+ || die "configure failed"
+ emake all || die "make failed"
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ make DESTDIR="${D}" installbin || die "installation failed"
+ # The bash completion should be installed in /usr/share/bash-completion/
+ # rather than /etc/bash_completion.d/ . Fixes bug #148038.
+ insinto "/usr/share/bash-completion" \
+ && doins "${D}/etc/bash_completion.d/darcs" \
+ && rm "${D}/etc/bash_completion.d/darcs" \
+ && rmdir "${D}/etc/bash_completion.d" \
+ && rmdir "${D}/etc" \
+ || die "fixing location of darcs bash completion failed"
+ if use doc; then
+ dodoc "${S}/doc/manual/darcs.ps" || die "installing darcs.ps failed"
+ dohtml -r "${S}/doc/manual/"* || die "installing darcs manual failed"
+ fi
+}
+
+pkg_postinst() {
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/darcs-2.2.1.ebuild b/dev-vcs/darcs/darcs-2.2.1.ebuild
new file mode 100644
index 000000000000..896408d63a86
--- /dev/null
+++ b/dev-vcs/darcs/darcs-2.2.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/darcs/darcs-2.2.1.ebuild,v 1.1 2010/03/14 12:29:26 kolmodin Exp $
+
+CABAL_FEATURES="bin lib haddock"
+inherit haskell-cabal eutils bash-completion
+
+DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
+HOMEPAGE="http://darcs.net"
+SRC_URI="http://hackage.haskell.org/packages/archive/darcs/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc"
+
+DEPEND=">=net-misc/curl-7.10.2
+ >=dev-lang/ghc-6.2.2
+ >=dev-haskell/cabal-1.6
+ =dev-haskell/quickcheck-1*
+ dev-haskell/mtl
+ dev-haskell/html
+ dev-haskell/http
+ =dev-haskell/parsec-2.1*
+ dev-haskell/regex-compat
+ sys-apps/diffutils
+ dev-haskell/network
+ dev-haskell/filepath
+ doc? ( virtual/latex-base
+ >=dev-tex/latex2html-2002.2.1_pre20041025-r1
+ >=dev-haskell/haddock-2.4.1 )"
+
+RDEPEND=">=net-misc/curl-7.10.2
+ virtual/mta
+ dev-libs/gmp"
+
+pkg_setup() {
+ if use doc && ! built_with_use -o dev-tex/latex2html png gif; then
+ eerror "Building darcs with USE=\"doc\" requires that"
+ eerror "dev-tex/latex2html is built with at least one of"
+ eerror "USE=\"png\" and USE=\"gif\"."
+ die "USE=doc requires dev-tex/latex2html with USE=\"png\" or USE=\"gif\""
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/tools"
+ epatch "${FILESDIR}/${PN}-1.0.9-bashcomp.patch"
+
+ # On ia64 we need to tone down the level of inlining so we don't break some
+ # of the low level ghc/gcc interaction gubbins.
+ use ia64 && sed -i 's/-funfolding-use-threshold20//' "${S}/GNUmakefile"
+}
+
+src_compile() {
+ # don't use the haskell zlib package
+ # with it, I keep getting this:
+ # darcs failed: Codec.Compression.Zlib: incorrect data check
+ CABAL_CONFIGURE_FLAGS="--flags=-external-zlib"
+ cabal_src_compile
+}
+
+src_install() {
+ cabal_src_install
+ dobashcompletion "${S}/tools/darcs_completion" "${PN}"
+}
+
+pkg_postinst() {
+ ghc-package_pkg_postinst
+ bash-completion_pkg_postinst
+
+ ewarn "NOTE: in order for the darcs send command to work properly,"
+ ewarn "you must properly configure your mail transport agent to relay"
+ ewarn "outgoing mail. For example, if you are using ssmtp, please edit"
+ ewarn "/etc/ssmtp/ssmtp.conf with appropriate values for your site."
+}
diff --git a/dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch b/dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch
new file mode 100644
index 000000000000..5f0c0d6edd77
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-1.0.8-ghc66.patch
@@ -0,0 +1,84 @@
+diff -urwpN darcs-1.0.8.orig/configure.ac darcs-1.0.8/configure.ac
+--- darcs-1.0.8.orig/configure.ac 2006-06-16 20:59:29.000000000 +0200
++++ darcs-1.0.8/configure.ac 2006-09-18 23:15:25.000000000 +0200
+@@ -110,6 +110,7 @@ WORKAROUND_POSIXSIGNALS([installHandler,
+ dnl Look for Text.Regex
+
+ GHC_CHECK_MODULE(Text.Regex( mkRegex, matchRegex, Regex ), text, mkRegex undefined)
++GHC_CHECK_MODULE(Text.Regex( mkRegex, matchRegex, Regex ), regex-compat, mkRegex undefined)
+
+ dnl See if we need a package for QuickCheck
+
+@@ -117,13 +118,17 @@ GHC_CHECK_MODULE(Debug.QuickCheck( quick
+
+ dnl See if we need the util or mtl packages for Control.Monad
+
+-GHC_CHECK_MODULE(Control.Monad.Error, util, putStr undefined)
+-GHC_CHECK_MODULE(Control.Monad.Error, mtl, putStr undefined)
++GHC_CHECK_MODULE(Control.Monad.Error, util, strMsg "foo" :: String)
++GHC_CHECK_MODULE(Control.Monad.Error, mtl, strMsg "foo" :: String)
+
+ dnl See if we need a package for parsec...
+
+ GHC_CHECK_MODULE(Text.ParserCombinators.Parsec, parsec, errorPos undefined)
+
++dnl Check if we need package html
++
++GHC_CHECK_MODULE(Text.Html, html, text "foo")
++
+ dnl Deal with systems on which getCurrentDirectory uses '\\' rather than '/':
+
+ WORKAROUND_getCurrentDirectory
+diff -urwpN darcs-1.0.8.orig/Lcs.lhs darcs-1.0.8/Lcs.lhs
+--- darcs-1.0.8.orig/Lcs.lhs 2006-06-16 20:59:28.000000000 +0200
++++ darcs-1.0.8/Lcs.lhs 2006-09-18 22:28:38.000000000 +0200
+@@ -358,7 +358,8 @@ shiftBoundaries c_a c_b p_a i_ j_ =
+ -- | goto next unchanged line, return the given line if unchanged
+ nextUnchanged :: BSTArray s -> Int -> ST s Int
+ nextUnchanged c i = do
+- if i == (aLen c) + 1 then return i
++ len <- aLenM c
++ if i == len + 1 then return i
+ else do b <- readArray c i
+ if b then nextUnchanged c (i+1)
+ else return i
+@@ -367,7 +368,8 @@ nextUnchanged c i = do
+ -- behind the last line
+ skipOneUnChanged :: BSTArray s -> Int -> ST s Int
+ skipOneUnChanged c i = do
+- if i == (aLen c) + 1 then return i
++ len <- aLenM c
++ if i == len + 1 then return i
+ else do b <- readArray c i
+ if not b then return (i+1)
+ else skipOneUnChanged c (i+1)
+@@ -381,8 +383,9 @@ nextUnchangedN c n i = do
+
+ -- | goto next changed line, return the given line if changed
+ nextChanged :: BSTArray s -> Int -> ST s (Maybe Int)
+-nextChanged c i =
+- if i <= aLen c
++nextChanged c i = do
++ len <- aLenM c
++ if i <= len
+ then do b <- readArray c i
+ if not b then nextChanged c (i+1)
+ else return $ Just i
+@@ -430,8 +433,17 @@ initM a = listArray (0, length a) (0:a)
+ initP :: [PackedString] -> PArray
+ initP a = listArray (0, length a) (nilPS:a)
+
++#if __GLASGOW_HASKELL__ > 604
++aLen :: (IArray a e) => a Int e -> Int
++aLen a = snd $ bounds a
++aLenM :: (MArray a e m) => a Int e -> m Int
++aLenM a = getBounds a >>= return . snd
++#else
+ aLen :: HasBounds a => a Int e -> Int
+ aLen a = snd $ bounds a
++aLenM :: (HasBounds a, Monad m) => a Int e -> m Int
++aLenM = return . snd . bounds
++#endif
+ \end{code}
+
+ \begin{code}
diff --git a/dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch b/dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch
new file mode 100644
index 000000000000..2c5e34521e45
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-1.0.9-bashcomp.patch
@@ -0,0 +1,18 @@
+diff -urwpN darcs-1.0.9-orig/darcs_completion darcs-1.0.9/darcs_completion
+--- darcs-1.0.9-orig/darcs_completion 2007-06-07 21:42:57.000000000 +0200
++++ darcs-1.0.9/darcs_completion 2007-06-07 21:43:12.000000000 +0200
+@@ -3,7 +3,6 @@
+ # darcs command line completion.
+ # Copyright 2002 "David Roundy" <droundy@abridgegame.org>
+ #
+-have darcs &&
+ _darcs()
+ {
+ local cur
+@@ -48,5 +47,5 @@ _darcs()
+ return 0
+
+ }
+-[ "$have" ] && complete -F _darcs -o default darcs
++complete -F _darcs -o default darcs
+
diff --git a/dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch b/dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch
new file mode 100644
index 000000000000..ac6b8578f491
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-1.1.0pre1-ghc68.patch
@@ -0,0 +1,39 @@
+diff -rN -u old-darcs-1.1.0pre1/aclocal.m4 new-darcs-1.1.0pre1/aclocal.m4
+--- old-darcs-1.1.0pre1/aclocal.m4 2007-12-30 18:13:00.000000000 +0100
++++ new-darcs-1.1.0pre1/aclocal.m4 2007-12-30 18:13:01.000000000 +0100
+@@ -447,6 +447,20 @@
+ openFd :: Int -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
+ openFd fd x y z a b = GHC.Handle.openFd fd x b y z a
+ ]]),
++AC_MSG_RESULT([okay])
++IMPORT_WORKAROUND([
++import qualified GHC.Handle ( fdToHandle' )
++import System.IO ( Handle, IOMode )
++import System.Posix.Internals ( FDType )
++import qualified GHC.IOBase ( FD )
++])
++CODE_WORKAROUND([[
++ {-
++ Work around change in the GHC.Handle.fdToHandle' API.
++ -}
++openFd :: GHC.IOBase.FD -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
++openFd fd x y z a b = GHC.Handle.fdToHandle' fd x b y z a
++]]),
+ AC_MSG_RESULT([failed])
+ AC_MSG_ERROR([Couldnt figure out how to call GHC.Handle.openFd!])
+ )
+diff -rN -u old-darcs-1.1.0pre1/configure.ac new-darcs-1.1.0pre1/configure.ac
+--- old-darcs-1.1.0pre1/configure.ac 2007-12-30 18:13:00.000000000 +0100
++++ new-darcs-1.1.0pre1/configure.ac 2007-12-30 18:13:01.000000000 +0100
+@@ -135,6 +135,10 @@
+ GHC_CHECK_MODULE(Text.Html, html, text "foo",,
+ AC_MSG_ERROR(Cannot find Text.Html; try installing package html?))
+
++dnl See if we need a package for containers...
++
++GHC_CHECK_MODULE(Data.Map, containers, empty)
++
+ dnl Deal with systems on which getCurrentDirectory uses '\\' rather than '/':
+
+ WORKAROUND_getCurrentDirectory
+
diff --git a/dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff b/dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff
new file mode 100644
index 000000000000..af5c7ff1a541
--- /dev/null
+++ b/dev-vcs/darcs/files/darcs-2.0.2-add-dummy-base-dependency.diff
@@ -0,0 +1,13 @@
+diff --git a/autoconf.mk.in b/autoconf.mk.in
+index 86e0932..de4bdcf 100644
+--- a/autoconf.mk.in
++++ b/autoconf.mk.in
+@@ -24,7 +24,7 @@ LDFLAGS := @LDFLAGS@
+ OPTLLDFLAGS := $(addprefix -optl,$(LDFLAGS))
+ LIBS := @LIBS@
+ OPTLLIBS := $(filter-out -%,$(LIBS)) $(addprefix -optl,$(filter -%,$(LIBS)))
+-GHCFLAGS := @GHCFLAGS@ @CPPFLAGS@ @DEFS@
++GHCFLAGS := -package base @GHCFLAGS@ @CPPFLAGS@ @DEFS@
+ USE_GNULIBSHA1 := @USE_GNULIBSHA1@
+ HAVE_HTTP := @HAVE_HTTP@
+ HAVE_CURSES := @HAVE_CURSES@
diff --git a/dev-vcs/darcs/metadata.xml b/dev-vcs/darcs/metadata.xml
new file mode 100644
index 000000000000..8c66906af531
--- /dev/null
+++ b/dev-vcs/darcs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>haskell</herd>
+<maintainer>
+ <email>haskell@gentoo.org</email>
+</maintainer>
+</pkgmetadata>