diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-23 15:26:11 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-23 15:26:38 +0100 |
commit | 7ef432c0c5c51667cf0f2c70e1ef62ec4279aa94 (patch) | |
tree | 1b40a49082d7483d27a600fca63714053cd2f74f /net-fs/cifs-utils/files | |
parent | media-plugins/audacious-plugins: Move from freedb.org to gnudb.gnudb.org (diff) | |
download | gentoo-7ef432c0c5c51667cf0f2c70e1ef62ec4279aa94.tar.gz gentoo-7ef432c0c5c51667cf0f2c70e1ef62ec4279aa94.tar.bz2 gentoo-7ef432c0c5c51667cf0f2c70e1ef62ec4279aa94.zip |
net-fs/cifs-utils: Fixed installation with MAKEOPTS="-j1" (again)
Closes: https://bugs.gentoo.org/766594
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-fs/cifs-utils/files')
-rw-r--r-- | net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch b/net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch new file mode 100644 index 000000000000..a5f7be668ac3 --- /dev/null +++ b/net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch @@ -0,0 +1,22 @@ +Fixed an inverted race condition when installing with MAKEOPTS="-j1" + +jer found this: + install-root_sbinPROGRAMS is called from install-data-am but + install-exec-hook is called from install-exec-am + +So moving the failing ln call into install-data-hook for now... + +--- cifs-utils-6.12/Makefile.am ++++ cifs-utils-6.12/Makefile.am +@@ -117,10 +117,8 @@ + + SUBDIRS = contrib + +-install-exec-hook: install-sbinPROGRAMS ++install-data-hook: install-sbinPROGRAMS + (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) +- +-install-data-hook: + if CONFIG_MAN + ( cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) + endif |