commit:     c7a63e556e7cd4bf09b9e769dfc7ec5f974592d7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 08:02:39 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 08:02:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a63e55

x11-libs/fltk: add AR autodetection with tuple prefix

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 x11-libs/fltk/files/fltk-1.3.5-AR.patch | 11 +++++++++++
 x11-libs/fltk/fltk-1.3.5-r4.ebuild      |  1 +
 2 files changed, 12 insertions(+)

diff --git a/x11-libs/fltk/files/fltk-1.3.5-AR.patch 
b/x11-libs/fltk/files/fltk-1.3.5-AR.patch
new file mode 100644
index 00000000000..34dbc8769f0
--- /dev/null
+++ b/x11-libs/fltk/files/fltk-1.3.5-AR.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -430,7 +430,7 @@ AC_PATH_PROG(DOXYDOC,doxygen)
+ 
+ dnl How do we make libraries?
+ AC_PROG_RANLIB
+-AC_PATH_TOOL(AR, ar)
++AC_CHECK_TOOL(AR, ar)
+ 
+ if test "x$AR" = "x:"; then
+     AC_MSG_ERROR([Configure could not find the library archiver, aborting.])

diff --git a/x11-libs/fltk/fltk-1.3.5-r4.ebuild 
b/x11-libs/fltk/fltk-1.3.5-r4.ebuild
index 56edcb354e2..bcc3ab8584a 100644
--- a/x11-libs/fltk/fltk-1.3.5-r4.ebuild
+++ b/x11-libs/fltk/fltk-1.3.5-r4.ebuild
@@ -66,6 +66,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.3.4-conf-tests.patch
        "${FILESDIR}"/${PN}-1.3.5-cmake.patch
        "${FILESDIR}"/${PN}-1.3.5-optim.patch
+       "${FILESDIR}"/${PN}-1.3.5-AR.patch
 )
 
 src_prepare() {

Reply via email to