summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-20 19:33:52 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-20 19:50:17 +0200
commit421df5f64771c31ae2e664029023ef41a133a875 (patch)
tree00b3bd517f633e437aa3a94ec911fbfe6ff79888 /sys-fs/jfsutils
parentsys-fs/jfsutils: migrate to EAPI=7 (diff)
downloadgentoo-421df5f64771c31ae2e664029023ef41a133a875.tar.gz
gentoo-421df5f64771c31ae2e664029023ef41a133a875.tar.bz2
gentoo-421df5f64771c31ae2e664029023ef41a133a875.zip
sys-fs/jfsutils: don't call AR directly
Closes: https://bugs.gentoo.org/726032 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-fs/jfsutils')
-rw-r--r--sys-fs/jfsutils/files/jfsutils-1.1.15-check-for-ar.patch10
-rw-r--r--sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild9
2 files changed, 18 insertions, 1 deletions
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
new file mode 100644
index 000000000000..6469e7d82d22
--- /dev/null
+++ b/sys-fs/jfsutils/files/jfsutils-1.1.15-check-for-ar.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -9,6 +9,7 @@ dnl Don't include maintainer make-rules by default
+ AM_MAINTAINER_MODE
+
+ dnl Checks for programs.
++AM_PROG_AR
+ AC_PROG_AWK
+ AC_PROG_CC
+ AC_PROG_INSTALL
diff --git a/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild b/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
index b618e667ca77..d1f28184fb48 100644
--- a/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
+++ b/sys-fs/jfsutils/jfsutils-1.1.15-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic
+inherit autotools flag-o-matic
DESCRIPTION="IBM's Journaling Filesystem (JFS) Utilities"
HOMEPAGE="http://jfs.sourceforge.net/"
@@ -19,8 +19,15 @@ DOCS=( AUTHORS ChangeLog NEWS README )
PATCHES=(
"${FILESDIR}"/${P}-linux-headers.patch #448844
"${FILESDIR}"/${P}-sysmacros.patch #580056
+ "${FILESDIR}"/${P}-check-for-ar.patch #726032
)
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
src_configure() {
# It doesn't compile on alpha without this LDFLAGS
use alpha && append-ldflags "-Wl,--no-relax"