summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Loeh <kosmikus@gentoo.org>2004-03-18 08:27:31 +0000
committerAndres Loeh <kosmikus@gentoo.org>2004-03-18 08:27:31 +0000
commit7726ad0688a3f11bf64e9c774db3646de1e60f5b (patch)
tree01c1f28c75e26e06a52744aa9b0eb503f92c027e /dev-util
parentAdded the patch to the latest version aswell, see bug #44645 (Manifest recommit) (diff)
downloadgentoo-2-7726ad0688a3f11bf64e9c774db3646de1e60f5b.tar.gz
gentoo-2-7726ad0688a3f11bf64e9c774db3646de1e60f5b.tar.bz2
gentoo-2-7726ad0688a3f11bf64e9c774db3646de1e60f5b.zip
added wxwindows USE flag support
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/darcs/ChangeLog5
-rw-r--r--dev-util/darcs/darcs-0.9.17.ebuild12
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-util/darcs/ChangeLog b/dev-util/darcs/ChangeLog
index cc55e64160fb..a0b418c4cdb2 100644
--- a/dev-util/darcs/ChangeLog
+++ b/dev-util/darcs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/darcs
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.11 2004/02/24 23:00:15 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/ChangeLog,v 1.12 2004/03/18 08:27:31 kosmikus Exp $
+
+ 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)
diff --git a/dev-util/darcs/darcs-0.9.17.ebuild b/dev-util/darcs/darcs-0.9.17.ebuild
index e137ab5d4da5..cad0499f2e85 100644
--- a/dev-util/darcs/darcs-0.9.17.ebuild
+++ b/dev-util/darcs/darcs-0.9.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.17.ebuild,v 1.1 2004/02/24 23:00:15 kosmikus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/darcs/darcs-0.9.17.ebuild,v 1.2 2004/03/18 08:27:31 kosmikus Exp $
DESCRIPTION="David's Advanced Revision Control System is yet another replacement for CVS"
HOMEPAGE="http://abridgegame.org/darcs"
@@ -8,10 +8,11 @@ SRC_URI="http://abridgegame.org/darcs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="doc"
+IUSE="doc wxwindows"
DEPEND=">=net-ftp/curl-7.10.2
>=virtual/ghc-6.0
+ wxwindows? ( dev-haskell/wxhaskell )
doc? ( virtual/tetex
dev-tex/latex2html )"
@@ -20,6 +21,8 @@ RDEPEND=">=net-ftp/curl-7.10.2"
S=${WORKDIR}/${P}
src_compile() {
+ local myconf
+ myconf="`use_with wxwindows wx`"
if [ `use doc` ]; then
mv GNUmakefile GNUmakefile.orig
cat GNUmakefile.orig \
@@ -37,8 +40,9 @@ src_compile() {
--prefix=/usr \
--datadir=/usr/share \
--sysconfdir=/etc \
- --mandir=/usr/share/man || die
- echo 'INSTALLWHAT=installbin' >> autoconf.mk
+ --mandir=/usr/share/man \
+ ${myconf} || die
+ echo 'INSTALLWHAT=installbin' >> autoconf.mk
make all || die
}