Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/jfsutils/, sys-fs/jfsutils/files/
Date: Thu, 20 Aug 2020 17:50:46
Message-Id: 1597945817.421df5f64771c31ae2e664029023ef41a133a875.whissi@gentoo
1 commit: 421df5f64771c31ae2e664029023ef41a133a875
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 20 17:33:52 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 20 17:50:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421df5f6
7
8 sys-fs/jfsutils: don't call AR directly
9
10 Closes: https://bugs.gentoo.org/726032
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-fs/jfsutils/files/jfsutils-1.1.15-check-for-ar.patch | 10 ++++++++++
14 sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild | 9 ++++++++-
15 2 files changed, 18 insertions(+), 1 deletion(-)
16
17 diff --git a/sys-fs/jfsutils/files/jfsutils-1.1.15-check-for-ar.patch b/sys-fs/jfsutils/files/jfsutils-1.1.15-check-for-ar.patch
18 new file mode 100644
19 index 00000000000..6469e7d82d2
20 --- /dev/null
21 +++ b/sys-fs/jfsutils/files/jfsutils-1.1.15-check-for-ar.patch
22 @@ -0,0 +1,10 @@
23 +--- a/configure.in
24 ++++ b/configure.in
25 +@@ -9,6 +9,7 @@ dnl Don't include maintainer make-rules by default
26 + AM_MAINTAINER_MODE
27 +
28 + dnl Checks for programs.
29 ++AM_PROG_AR
30 + AC_PROG_AWK
31 + AC_PROG_CC
32 + AC_PROG_INSTALL
33
34 diff --git a/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild b/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
35 index b618e667ca7..d1f28184fb4 100644
36 --- a/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
37 +++ b/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
38 @@ -3,7 +3,7 @@
39
40 EAPI=7
41
42 -inherit flag-o-matic
43 +inherit autotools flag-o-matic
44
45 DESCRIPTION="IBM's Journaling Filesystem (JFS) Utilities"
46 HOMEPAGE="http://jfs.sourceforge.net/"
47 @@ -19,8 +19,15 @@ DOCS=( AUTHORS ChangeLog NEWS README )
48 PATCHES=(
49 "${FILESDIR}"/${P}-linux-headers.patch #448844
50 "${FILESDIR}"/${P}-sysmacros.patch #580056
51 + "${FILESDIR}"/${P}-check-for-ar.patch #726032
52 )
53
54 +src_prepare() {
55 + default
56 +
57 + eautoreconf
58 +}
59 +
60 src_configure() {
61 # It doesn't compile on alpha without this LDFLAGS
62 use alpha && append-ldflags "-Wl,--no-relax"