summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-06-18 10:09:02 -0400
committerEli Schwartz <eschwartz@archlinux.org>2020-06-18 11:12:41 -0400
commit2da4ade5d260d4300fd0b789f9fdc16939d3fe42 (patch)
tree6f393cc708f59ac77c8b7e34a9795c868665b871
parentupgpkg: zfs-dkms 0.8.4-1 (diff)
downloadzfs-dkms-2da4ade5d260d4300fd0b789f9fdc16939d3fe42.tar.xz
zfs-dkms*/: fix configure.ac modifications to allow all module/ files
We want the toplevel Makefile/zfs.release and we *also* want all files in module/ to be configured, because that is the only subdirectory we use. It just happened that module/ used to only have Makefile.in to configure, so only permitting Makefiles which may or may not be prefixed with 'module/' worked. The current upstream master now has a Kbuild.in file, though, which broke this clumsy hack. Update to use a more beautiful variant of clumsy hack instead.
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 55a6773..f44d677 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,7 +35,7 @@ prepare() {
sed -ri "/AC_CONFIG_FILES/,/]\)/{
/AC_CONFIG_FILES/n
/]\)/n
-/^\s*(module\/.*)?(${pkgname%-dkms}.release|Makefile)/!d
+/^\s*(module\/.*|${pkgname%-dkms}.release|Makefile)/!d
}" configure.ac
autoreconf -fi