diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-21 16:46:09 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-21 16:46:09 +0200 |
commit | c1153daf26cac14aaaf80926cc3b4b0631fd1f47 (patch) | |
tree | 7cab9c9565f5c79e75657217f2c419754b870ca3 | |
parent | ebec7121fed778e37b421e2edc1bc68148eb34dd (diff) | |
download | perl-URPM-c1153daf26cac14aaaf80926cc3b4b0631fd1f47.tar perl-URPM-c1153daf26cac14aaaf80926cc3b4b0631fd1f47.tar.gz perl-URPM-c1153daf26cac14aaaf80926cc3b4b0631fd1f47.tar.bz2 perl-URPM-c1153daf26cac14aaaf80926cc3b4b0631fd1f47.tar.xz perl-URPM-c1153daf26cac14aaaf80926cc3b4b0631fd1f47.zip |
restore support for building on mga4
It got broken in commit 9c8f8e738664f2905e3927e5806bb14da4a5272b (5.24)
-rwxr-xr-x | Makefile.PL | 2 | ||||
-rw-r--r-- | NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
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); @@ -1,3 +1,5 @@ +- restore support for building on mga4 (broken in 5.24) + Version 5.25 - 8 April 2020 - add support for reinstall (needs rpm >= 4.12.x) |