summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-04 14:45:14 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-04 14:45:14 +0000
commitc59c90ba3a05025a4471229eb0bff87cb2ac1786 (patch)
tree9b936b09f7fa6196d8f66821f13e769547c237bf /dev-libs/zthread/zthread-2.3.1-r1.ebuild
parentFix broken autotools handling. (diff)
downloadgentoo-2-c59c90ba3a05025a4471229eb0bff87cb2ac1786.tar.gz
gentoo-2-c59c90ba3a05025a4471229eb0bff87cb2ac1786.tar.bz2
gentoo-2-c59c90ba3a05025a4471229eb0bff87cb2ac1786.zip
Fix broken autotools handling.
(Portage version: 2.1.2_rc4-r5)
Diffstat (limited to 'dev-libs/zthread/zthread-2.3.1-r1.ebuild')
-rw-r--r--dev-libs/zthread/zthread-2.3.1-r1.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/dev-libs/zthread/zthread-2.3.1-r1.ebuild b/dev-libs/zthread/zthread-2.3.1-r1.ebuild
index 7a89852e99ca..941be3e5678d 100644
--- a/dev-libs/zthread/zthread-2.3.1-r1.ebuild
+++ b/dev-libs/zthread/zthread-2.3.1-r1.ebuild
@@ -1,8 +1,11 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/zthread/zthread-2.3.1-r1.ebuild,v 1.1 2005/12/24 00:48:27 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/zthread/zthread-2.3.1-r1.ebuild,v 1.2 2007/01/04 14:45:14 flameeyes Exp $
-inherit eutils flag-o-matic
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils flag-o-matic autotools
MY_P="ZThread-${PV}"
S="${WORKDIR}/${MY_P}"
@@ -24,17 +27,11 @@ src_unpack() {
epatch ${FILESDIR}/${P}-fix-underquoted-m4-defs.diff
epatch ${FILESDIR}/${P}-fix-ac-arg-enable-debug.diff
epatch ${FILESDIR}/${P}-respect-DESTDIR.diff
+
+ AT_M4DIR="share" eautoreconf
}
src_compile() {
- einfo "Regenerating autoconf/automake files"
- libtoolize --copy --force || die "libtoolize failed"
- aclocal -I share || die "aclocal failed"
- autoheader || die "autoheader failed"
- automake --add-missing --copy || die "automake failed"
- autoconf || die "autoconf failed"
-
-
local myconf
use debug \
&& myconf="--enable-debug=yes" \