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@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2020-07-13 09:02:39 +01:00
parent d463313263
commit c7a63e556e
2 changed files with 12 additions and 0 deletions

View File

@@ -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.])

View File

@@ -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() {