summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-13 21:48:46 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-13 21:48:46 +0000
commitd171ccce2274f0190c1dc6845564b2a630919e97 (patch)
tree372b016c1922721af434e35fc228e9c48d34d412 /dev-lang/wml/wml-2.0.9.ebuild
parentdepend on ~kdebase (diff)
downloadhistorical-d171ccce2274f0190c1dc6845564b2a630919e97.tar.gz
historical-d171ccce2274f0190c1dc6845564b2a630919e97.tar.bz2
historical-d171ccce2274f0190c1dc6845564b2a630919e97.zip
properly fix the configure failures
Diffstat (limited to 'dev-lang/wml/wml-2.0.9.ebuild')
-rw-r--r--dev-lang/wml/wml-2.0.9.ebuild39
1 files changed, 22 insertions, 17 deletions
diff --git a/dev-lang/wml/wml-2.0.9.ebuild b/dev-lang/wml/wml-2.0.9.ebuild
index 09dcd51ae5bb..50318dbab411 100644
--- a/dev-lang/wml/wml-2.0.9.ebuild
+++ b/dev-lang/wml/wml-2.0.9.ebuild
@@ -1,32 +1,37 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/wml-2.0.9.ebuild,v 1.6 2003/04/06 04:42:55 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/wml/wml-2.0.9.ebuild,v 1.7 2003/11/13 21:48:46 vapier Exp $
-IUSE=""
+inherit fixheadtails
-S=${WORKDIR}/${P}
DESCRIPTION="Website META Language"
-SRC_URI="http://www.engelschall.com/sw/wml/distrib/${P}.tar.gz"
HOMEPAGE="http://www.engelschall.com/sw/wml/"
-DEPEND=">=dev-lang/perl-5.6.1-r3"
+SRC_URI="http://www.engelschall.com/sw/wml/distrib/${P}.tar.gz"
+
LICENSE="GPL-2"
-KEYWORDS="x86 sparc"
SLOT="0"
+KEYWORDS="x86 sparc"
+
+DEPEND="dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ ht_fix_all
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-fix-configure.in.patch
+ export WANT_AUTOCONF='2.5'
+ for d in `find ${S} -name configure -mindepth 2 -printf '%h '` ; do
+ cd ${d}
+ autoconf || die "autoconf in ${d}"
+ done
+}
src_compile() {
- # 2002-11-11: karltk@gentoo.org
- # It barfs if CFLAGS is set. Dunno why.
- # It'll default to -O2, which is probably safest.
- unset CFLAGS
- unset CC
-# econf || die "./configure failed"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info || die "./configure failed"
- emake || die
+ econf || die "./configure failed"
+ emake || die "emake failed"
}
-src_install () {
+src_install() {
einstall || die
dodoc ANNOUNCE BUGREPORT C* INSTALL MANIFEST README* SUPPORT VERSION*
}