summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-07-13 09:02:39 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-07-13 09:02:48 +0100
commitc7a63e556e7cd4bf09b9e769dfc7ec5f974592d7 (patch)
tree8552b6626f0ad3092ff1e393794b3ea765c980c0 /x11-libs/fltk
parentsys-apps/kcheck: update live ebuild (diff)
downloadgentoo-c7a63e556e7cd4bf09b9e769dfc7ec5f974592d7.tar.gz
gentoo-c7a63e556e7cd4bf09b9e769dfc7ec5f974592d7.tar.bz2
gentoo-c7a63e556e7cd4bf09b9e769dfc7ec5f974592d7.zip
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>
Diffstat (limited to 'x11-libs/fltk')
-rw-r--r--x11-libs/fltk/files/fltk-1.3.5-AR.patch11
-rw-r--r--x11-libs/fltk/fltk-1.3.5-r4.ebuild1
2 files changed, 12 insertions, 0 deletions
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 000000000000..34dbc8769f09
--- /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 56edcb354e2f..bcc3ab8584a9 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() {