commit:     2d0894ebcc2735be955d70f14f02d37d93043603
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 23:29:35 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 23:32:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0894eb

x11-plugins/wmbiff: do not call ar directly

Closes: https://bugs.gentoo.org/726284
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch | 11 +++++++++++
 x11-plugins/wmbiff/wmbiff-0.4.36.ebuild         |  9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch 
b/x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch
new file mode 100644
index 00000000000..da1f194dd4c
--- /dev/null
+++ b/x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch
@@ -0,0 +1,11 @@
+diff -Naur wmbiff-0.4.36.orig/configure.ac wmbiff-0.4.36/configure.ac
+--- wmbiff-0.4.36.orig/configure.ac    2020-04-17 19:30:26.000000000 +0200
++++ wmbiff-0.4.36/configure.ac 2021-01-03 00:27:57.522698494 +0100
+@@ -13,6 +13,7 @@
+ AH_TEMPLATE([VERSION], [wmbiff's release version])
+ AC_SUBST(VERSION)
+ 
++AM_PROG_AR
+ AC_PROG_INSTALL
+ AC_PROG_CC
+ AC_PROG_RANLIB

diff --git a/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild 
b/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild
index 9bc7ddb28d8..7f44590d096 100644
--- a/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild
+++ b/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+inherit autotools
 
 DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 
mailboxes"
 HOMEPAGE="https://www.dockapps.net/wmbiff";
@@ -26,8 +27,14 @@ BDEPEND="virtual/pkgconfig"
 DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc"
 PATCHES=(
        "${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch
+       "${FILESDIR}"/${P}-ar.patch
        )
 
+src_prepare() {
+       default
+       eautoreconf
+}
+
 src_configure() {
        econf $(use_enable crypt crypto)
 }

Reply via email to