summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-11 02:06:02 +0000
committerSam James <sam@gentoo.org>2021-06-11 02:06:02 +0000
commitddc94ea52b95a8274768f178b9a5390602b72a75 (patch)
tree5597f5565de646f41e065bd612cb8fe9c8249ce2
parentsys-fs/zfs-kmod: drop 2.1.0_rc6 (diff)
downloadgentoo-ddc94ea52b95a8274768f178b9a5390602b72a75.tar.gz
gentoo-ddc94ea52b95a8274768f178b9a5390602b72a75.tar.bz2
gentoo-ddc94ea52b95a8274768f178b9a5390602b72a75.zip
sys-fs/zfs-kmod: run eautoreconf unconditionally
Bug: https://bugs.gentoo.org/792627 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc7.ebuild7
-rw-r--r--sys-fs/zfs-kmod/zfs-kmod-9999.ebuild7
2 files changed, 8 insertions, 6 deletions
diff --git a/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc7.ebuild b/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc7.ebuild
index 34cc83a6093..27cf80ed430 100644
--- a/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc7.ebuild
+++ b/sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc7.ebuild
@@ -106,9 +106,10 @@ pkg_setup() {
src_prepare() {
default
- if [[ ${PV} == "9999" ]]; then
- eautoreconf
- else
+ # Run unconditionally (bug #792627)
+ eautoreconf
+
+ if [[ ${PV} != "9999" ]]; then
# Set module revision number
sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release"
fi
diff --git a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
index 34cc83a6093..27cf80ed430 100644
--- a/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
+++ b/sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
@@ -106,9 +106,10 @@ pkg_setup() {
src_prepare() {
default
- if [[ ${PV} == "9999" ]]; then
- eautoreconf
- else
+ # Run unconditionally (bug #792627)
+ eautoreconf
+
+ if [[ ${PV} != "9999" ]]; then
# Set module revision number
sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release"
fi