commit:     ddc94ea52b95a8274768f178b9a5390602b72a75
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 02:06:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 02:06:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc94ea5

sys-fs/zfs-kmod: run eautoreconf unconditionally

Bug: https://bugs.gentoo.org/792627
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/zfs-kmod/zfs-kmod-2.1.0_rc7.ebuild | 7 ++++---
 sys-fs/zfs-kmod/zfs-kmod-9999.ebuild      | 7 ++++---
 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

Reply via email to