From c1153daf26cac14aaaf80926cc3b4b0631fd1f47 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Apr 2020 16:46:09 +0200 Subject: restore support for building on mga4 It got broken in commit 9c8f8e738664f2905e3927e5806bb14da4a5272b (5.24) --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 9e00c6a..b10f56e 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -55,7 +55,7 @@ print $FH "\n#endif\n"; close($FH); my $workaround; -if (-e '/etc/redhat-release' && $cfg{modversion} =~ /4.11/) { +if (! -e '/etc/mageia-release' && -e '/etc/redhat-release' && $cfg{modversion} =~ /4.11/) { $workaround = '-DPATCHED_RH'; } my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', $cfg{cflags}, "-DRPM_VERSON=$cfg{modversion}", $workaround); -- cgit v1.2.1