1 |
commit: 2d0894ebcc2735be955d70f14f02d37d93043603 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 23:29:35 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 23:32:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0894eb |
7 |
|
8 |
x11-plugins/wmbiff: do not call ar directly |
9 |
|
10 |
Closes: https://bugs.gentoo.org/726284 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
13 |
|
14 |
x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch | 11 +++++++++++ |
15 |
x11-plugins/wmbiff/wmbiff-0.4.36.ebuild | 9 ++++++++- |
16 |
2 files changed, 19 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch b/x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..da1f194dd4c |
21 |
--- /dev/null |
22 |
+++ b/x11-plugins/wmbiff/files/wmbiff-0.4.36-ar.patch |
23 |
@@ -0,0 +1,11 @@ |
24 |
+diff -Naur wmbiff-0.4.36.orig/configure.ac wmbiff-0.4.36/configure.ac |
25 |
+--- wmbiff-0.4.36.orig/configure.ac 2020-04-17 19:30:26.000000000 +0200 |
26 |
++++ wmbiff-0.4.36/configure.ac 2021-01-03 00:27:57.522698494 +0100 |
27 |
+@@ -13,6 +13,7 @@ |
28 |
+ AH_TEMPLATE([VERSION], [wmbiff's release version]) |
29 |
+ AC_SUBST(VERSION) |
30 |
+ |
31 |
++AM_PROG_AR |
32 |
+ AC_PROG_INSTALL |
33 |
+ AC_PROG_CC |
34 |
+ AC_PROG_RANLIB |
35 |
|
36 |
diff --git a/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild b/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild |
37 |
index 9bc7ddb28d8..7f44590d096 100644 |
38 |
--- a/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild |
39 |
+++ b/x11-plugins/wmbiff/wmbiff-0.4.36.ebuild |
40 |
@@ -1,7 +1,8 @@ |
41 |
-# Copyright 1999-2020 Gentoo Authors |
42 |
+# Copyright 1999-2021 Gentoo Authors |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
EAPI=7 |
46 |
+inherit autotools |
47 |
|
48 |
DESCRIPTION="WMBiff is a dock applet for WindowMaker which can monitor up to 5 mailboxes" |
49 |
HOMEPAGE="https://www.dockapps.net/wmbiff" |
50 |
@@ -26,8 +27,14 @@ BDEPEND="virtual/pkgconfig" |
51 |
DOCS="ChangeLog FAQ NEWS README TODO wmbiff/sample.wmbiffrc" |
52 |
PATCHES=( |
53 |
"${FILESDIR}"/${PN}-0.4.27-invalid-strncpy.patch |
54 |
+ "${FILESDIR}"/${P}-ar.patch |
55 |
) |
56 |
|
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ eautoreconf |
60 |
+} |
61 |
+ |
62 |
src_configure() { |
63 |
econf $(use_enable crypt crypto) |
64 |
} |