From c7a63e556e7cd4bf09b9e769dfc7ec5f974592d7 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 13 Jul 2020 09:02:39 +0100 Subject: [PATCH] x11-libs/fltk: add AR autodetection with tuple prefix Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich --- 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(+) create mode 100644 x11-libs/fltk/files/fltk-1.3.5-AR.patch 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 0000000000000..34dbc8769f09d --- /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 56edcb354e2ff..bcc3ab8584a92 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() {