summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-09 22:38:53 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-09 22:38:53 +0000
commit7e917b159e2c917d2a2e1bbb7c594288da5503cb (patch)
treec2f939486e9298e349a80a78c9a99fb6593740a8 /sys-devel/autoconf
parentinitial import (diff)
downloadhistorical-7e917b159e2c917d2a2e1bbb7c594288da5503cb.tar.gz
historical-7e917b159e2c917d2a2e1bbb7c594288da5503cb.tar.bz2
historical-7e917b159e2c917d2a2e1bbb7c594288da5503cb.zip
push out fixed ac-wrapper #66854
Diffstat (limited to 'sys-devel/autoconf')
-rw-r--r--sys-devel/autoconf/ChangeLog9
-rw-r--r--sys-devel/autoconf/Manifest12
-rw-r--r--sys-devel/autoconf/autoconf-2.59-r5.ebuild (renamed from sys-devel/autoconf/autoconf-2.59-r4.ebuild)2
-rw-r--r--sys-devel/autoconf/files/ac-wrapper.pl46
-rw-r--r--sys-devel/autoconf/files/digest-autoconf-2.59-r5 (renamed from sys-devel/autoconf/files/digest-autoconf-2.59-r4)0
5 files changed, 49 insertions, 20 deletions
diff --git a/sys-devel/autoconf/ChangeLog b/sys-devel/autoconf/ChangeLog
index f273c30a4ece..ada96d7fcb17 100644
--- a/sys-devel/autoconf/ChangeLog
+++ b/sys-devel/autoconf/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-devel/autoconf
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/ChangeLog,v 1.55 2004/09/03 19:37:35 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/ChangeLog,v 1.56 2004/10/09 22:38:53 vapier Exp $
+
+*autoconf-2.59-r5 (09 Oct 2004)
+
+ 09 Oct 2004; Mike Frysinger <vapier@gentoo.org> files/ac-wrapper.pl,
+ -autoconf-2.59-r4.ebuild, +autoconf-2.59-r5.ebuild:
+ Version bump to push out fixed ac-wrapper.pl that cvs missed from before
+ #66854.
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
autoconf-2.59-r3.ebuild:
diff --git a/sys-devel/autoconf/Manifest b/sys-devel/autoconf/Manifest
index ba19873779aa..219f5db01af2 100644
--- a/sys-devel/autoconf/Manifest
+++ b/sys-devel/autoconf/Manifest
@@ -1,18 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 0893e11f99229cc9dc06ecc7e4230634 ChangeLog 8888
+MD5 cf979209a664d2621b669221b6c5a080 ChangeLog 9130
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 8bb0853049d202422060f89c2a4b6917 autoconf-2.59-r4.ebuild 3429
+MD5 c9afbb6295dd968b7d4a7b5936086b21 autoconf-2.59-r5.ebuild 3428
MD5 c07cd3cad0342c7c9ccafdb4f0ae8b03 files/ac-wrapper.pl 2785
MD5 12f8fb67eaf50f87ed7825356503e8d7 files/autoconf-2.13-configure-gentoo.diff 958
MD5 f935499520b964a1fcfc23b68d8c8558 files/autoconf-2.13-configure.in-gentoo.diff 443
MD5 372cd1fdd18a95f5a6af7cb36bfd12de files/autoconf-2.58-infopage-namechange.patch 5117
-MD5 b310d32d1d5c26cb84206bfda473da1c files/digest-autoconf-2.59-r4 131
+MD5 b310d32d1d5c26cb84206bfda473da1c files/digest-autoconf-2.59-r5 131
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBZDGoHTu7gpaalycRApivAKDQls2qXhI3+dBW7jHfp4GO1goIzACglvWT
-y71pQZ7Np7Gi8vcMQ874480=
-=/xFO
+iD8DBQFBaGiTHTu7gpaalycRAgsDAJ40J1RjXVrlMm3atrDtFiPcYiqTQQCg2dg6
+nYATCe52Oc3bodGcpUCz5c4=
+=I4C8
-----END PGP SIGNATURE-----
diff --git a/sys-devel/autoconf/autoconf-2.59-r4.ebuild b/sys-devel/autoconf/autoconf-2.59-r5.ebuild
index e34ca4d559da..130ae5e78c38 100644
--- a/sys-devel/autoconf/autoconf-2.59-r4.ebuild
+++ b/sys-devel/autoconf/autoconf-2.59-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.59-r4.ebuild,v 1.11 2004/10/06 17:55:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/autoconf/autoconf-2.59-r5.ebuild,v 1.1 2004/10/09 22:38:53 vapier Exp $
inherit eutils
diff --git a/sys-devel/autoconf/files/ac-wrapper.pl b/sys-devel/autoconf/files/ac-wrapper.pl
index 86797efbb912..984ce670f378 100644
--- a/sys-devel/autoconf/files/ac-wrapper.pl
+++ b/sys-devel/autoconf/files/ac-wrapper.pl
@@ -17,15 +17,15 @@
#
# - defaults to autoconf-2.13
# - runs autoconf-2.5x if it exists and...
-# - envvar WANT_AUTOCONF_2_5 is set to `1'
+# - envvar WANT_AUTOCONF is set to `2.5'
# -or-
# - configure.ac is present
# -or-
# - `configure.in' contains AC_PREREQ and the value's 3 first letters
-# are stringwise greater than '2.1'
+# are stringwise greater than '2.13'
# -or-
# - `configure' is already present and was generated by autoconf greater than
-# '2.1'
+# '2.13'
# -or-
# - `Makefile.in' was generated by automake-1.6 or superior, which
# specifically needs autoconf-2.5x
@@ -34,26 +34,48 @@
#use MDK::Common;
sub cat_ { local *F; open F, $_[0] or return; my @l = <F>; wantarray ? @l : join '', @l }
+sub ac_version {
+ return ((@versions = cat_(shift) =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3}[0-9]?)[^\)]*\]?\)/mg) ? ((sort @versions)[-1]) : '');
+}
my $binary = "$0-2.13";
my $binary_new = "$0-2.5x";
-if (!$ENV{WANT_AUTOCONF_2_1}) {
- if ((! -x $binary) # handle stuff like autom4te, where only 2.5x have the binary
+# Autoconf is really getting out of hand, so rather start supporting
+# WANT_AUTOCONF = "2.5" the like. Unfortunately it override the old
+# variables, so if not set, just convert the old variables ....
+if ($ENV{WANT_AUTOCONF} eq "") {
+ if ($ENV{WANT_AUTOCONF_2_1}) {
+ $ENV{WANT_AUTOCONF} = '2.1';
+ } elsif ($ENV{WANT_AUTOCONF_2_5}) {
+ $ENV{WANT_AUTOCONF} = '2.5';
+ }
+}
+
+if ($ENV{WANT_AUTOCONF} ne '2.1') {
+ if ((! -x $binary) # handle stuff like autom4te, where only 2.5x have the binary
|| (-x $binary_new # user may have only 2.13
- && ($ENV{WANT_AUTOCONF_2_5}
+ && (($ENV{WANT_AUTOCONF} eq '2.5')
|| -r 'configure.ac'
- || (cat_('configure.in') =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.1'
- || (cat_('configure') =~ /^# Generated by Autoconf (\S+)/m ? $1 : '') gt '2.1'
+ || ac_version('configure.in') gt '2.13'
+ || (cat_('configure') =~ /^# Generated by Autoconf (\S+)/m ? $1 : '') gt '2.13'
|| (cat_('Makefile.in') =~ /^# Makefile\.in generated by automake (\S+)/ ? $1 : '') ge '1.6'
- || (cat_('aclocal.m4') =~ /^\s*\[?AC_PREREQ\(\[?([^\)]{3})[^\)]*\]?\)/m ? $1 : '') gt '2.1'))) {
- $ENV{WANT_AUTOCONF_2_5} = 1; # to prevent further "cats" and to enhance consistency (possible cwd etc)
- $binary = $binary_new;
+ || ac_version('aclocal.m4') gt '2.13'))) {
+ $ENV{WANT_AUTOCONF} = '2.5'; # to prevent further "cats" and to enhance consistency (possible cwd etc)
+ $binary = $binary_new;
} else {
- $ENV{WANT_AUTOCONF_2_1} = 1; # for further consistency
+ $ENV{WANT_AUTOCONF} = '2.1'; # for further consistency
}
}
+# Set AUTOM4TE to the proper version (bug #40983).
+# Do not set it for 2.13 though, as it does not ship autom4te.
+if(($ENV{AUTOM4TE} eq "")
+ && ($ENV{WANT_AUTOCONF} = '2.5')
+ && ($0 ne 'autom4te')) {
+ $ENV{AUTOM4TE} = "autom4te-2.5x";
+}
+
$ENV{WANT_ACWRAPPER_DEBUG} and print STDERR "ac-wrapper: will execute <$binary>\n";
exec $binary, @ARGV;
diff --git a/sys-devel/autoconf/files/digest-autoconf-2.59-r4 b/sys-devel/autoconf/files/digest-autoconf-2.59-r5
index a9ae401381fd..a9ae401381fd 100644
--- a/sys-devel/autoconf/files/digest-autoconf-2.59-r4
+++ b/sys-devel/autoconf/files/digest-autoconf-2.59-r5