summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2021-03-13 15:07:44 -0500
committerAaron Bauman <bman@gentoo.org>2021-03-13 15:07:44 -0500
commitc2768b36696fbafe315ae1b3b8b4038dfc7dfc03 (patch)
tree1ea57ecf9a661070de40c50f0edc3751889beb43
parentapp-shells/zsh-syntax-highlighting: Drop old (diff)
downloadgentoo-c2768b36696fbafe315ae1b3b8b4038dfc7dfc03.tar.gz
gentoo-c2768b36696fbafe315ae1b3b8b4038dfc7dfc03.tar.bz2
gentoo-c2768b36696fbafe315ae1b3b8b4038dfc7dfc03.zip
sys-devel/autoconf: fix patch for Darwin
Signed-off-by: Aaron Bauman <bman@gentoo.org>
-rw-r--r--sys-devel/autoconf/autoconf-2.71.ebuild2
-rw-r--r--sys-devel/autoconf/files/autoconf-2.71-darwin.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/sys-devel/autoconf/autoconf-2.71.ebuild b/sys-devel/autoconf/autoconf-2.71.ebuild
index d6187f9fa303..86e89e450868 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 000000000000..c122aee4b22d
--- /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';