Fix s-nail makeflags

Resolves: rhbz#2171723
This commit is contained in:
Tomas Korbar 2023-04-13 11:29:00 +02:00
parent 28d7651f0f
commit dc8627262a
2 changed files with 30 additions and 2 deletions

21
s-nail-makeflags.patch Normal file
View File

@ -0,0 +1,21 @@
commit 6b2c08bcd0e1c34db4b1bf9946a201f03595e36d
Author: Tomas Korbar <tkorbar@redhat.com>
Date: Thu Apr 13 10:20:08 2023 +0200
Remove sync-mutex from MAKEFLAGS
diff --git a/mk/make-config.sh b/mk/make-config.sh
index 2d7c619..c12d317 100644
--- a/mk/make-config.sh
+++ b/mk/make-config.sh
@@ -1555,6 +1555,10 @@ if feat_yes DOTLOCK; then
printf "#real below OPTIONAL_PS_DOTLOCK = \$(VAL_PS_DOTLOCK)\n" >> ${newmk}
fi
+
+# remove sync-mutex option
+MAKEFLAGS=$(printf %b "${MAKEFLAGS}" | ${sed} -e "s#--sync-mutex=[a-zA-Z0-9:/]*##")
+
for i in \
CWDDIR TOPDIR OBJDIR INCDIR SRCDIR \
MX_CWDDIR MX_INCDIR MX_SRCDIR \

View File

@ -1,6 +1,6 @@
Name: s-nail
Version: 14.9.24
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Environment for sending and receiving mail
# Everything is ISC except parts coming from the original Heirloom mailx which are BSD
@ -11,7 +11,10 @@ Source1: https://www.sdaoden.eu/downloads/%{name}-%{version}.tar.xz.asc
# https://ftp.sdaoden.eu/steffen.asc
Source2: steffen.asc
BuildRequires: make
# https://bugzilla.redhat.com/show_bug.cgi?id=2171723
Patch0: s-nail-makeflags.patch
BuildRequires: make
BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: openssl
@ -143,6 +146,10 @@ fi
%changelog
* Thu Apr 13 2023 Tomas Korbar <tkorbar@redhat.com> - 14.9.24-4
- Fix s-nail makeflags
- Resolves: rhbz#2171723
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.9.24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild