commit:     c2768b36696fbafe315ae1b3b8b4038dfc7dfc03
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 20:07:44 2021 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 20:07:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2768b36

sys-devel/autoconf: fix patch for Darwin

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sys-devel/autoconf/autoconf-2.71.ebuild             |  2 +-
 sys-devel/autoconf/files/autoconf-2.71-darwin.patch | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/sys-devel/autoconf/autoconf-2.71.ebuild 
b/sys-devel/autoconf/autoconf-2.71.ebuild
index d6187f9fa30..86e89e45086 100644
--- a/sys-devel/autoconf/autoconf-2.71.ebuild
+++ b/sys-devel/autoconf/autoconf-2.71.ebuild
@@ -40,7 +40,7 @@ PDEPEND="emacs? ( app-emacs/autoconf-mode )"
 src_prepare() {
        # usr/bin/libtool is provided by binutils-apple, need gnu libtool
        if [[ ${CHOST} == *-darwin* ]] ; then
-               PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch )
+               PATCHES+=( "${FILESDIR}"/${PN}-2.71-darwin.patch )
        fi
 
        # Save timestamp to avoid later makeinfo call

diff --git a/sys-devel/autoconf/files/autoconf-2.71-darwin.patch 
b/sys-devel/autoconf/files/autoconf-2.71-darwin.patch
new file mode 100644
index 00000000000..c122aee4b22
--- /dev/null
+++ b/sys-devel/autoconf/files/autoconf-2.71-darwin.patch
@@ -0,0 +1,11 @@
+--- a/bin/autoreconf.in
++++ b/bin/autoreconf.in
+@@ -122,7 +122,7 @@
+ my $autom4te    = $ENV{'AUTOM4TE'}    || '@bindir@/@autom4te-name@';
+ my $automake    = $ENV{'AUTOMAKE'}    || 'automake';
+ my $aclocal     = $ENV{'ACLOCAL'}     || 'aclocal';
+-my $libtoolize  = $ENV{'LIBTOOLIZE'}  || 'libtoolize';
++my $libtoolize  = $ENV{'LIBTOOLIZE'}  || 'glibtoolize';
+ my $intltoolize = $ENV{'INTLTOOLIZE'} || 'intltoolize';
+ my $gtkdocize   = $ENV{'GTKDOCIZE'}   || 'gtkdocize';
+ my $autopoint   = $ENV{'AUTOPOINT'}   || 'autopoint';

Reply via email to