aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorDexter Morgan <dmorgan@mageia.org>2011-04-15 19:50:37 +0000
committerDexter Morgan <dmorgan@mageia.org>2011-04-15 19:50:37 +0000
commite574fa64644a04ba211ac21a4baa9e9aa3ccc546 (patch)
tree5b29c100bc07ad350f6c0f6541b52e0106cc9f55 /Makefile.PL
parent30eacf451b80382e39cac94f7346776eea999b26 (diff)
downloadperl-URPM-e574fa64644a04ba211ac21a4baa9e9aa3ccc546.tar
perl-URPM-e574fa64644a04ba211ac21a4baa9e9aa3ccc546.tar.gz
perl-URPM-e574fa64644a04ba211ac21a4baa9e9aa3ccc546.tar.bz2
perl-URPM-e574fa64644a04ba211ac21a4baa9e9aa3ccc546.tar.xz
perl-URPM-e574fa64644a04ba211ac21a4baa9e9aa3ccc546.zip
Backport thierry fix (first try to build with rpm-4.9.1)
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 0308b27..3274db1 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -51,6 +51,10 @@ ChangeLog:
my @rpmflags;
my $ldflags = `pkg-config --libs rpm`;
+if ($hversion ge hexversion("4.9.0") && $hversion lt hexversion("5.0")) {
+ # rpm.org version 4.9.0
+ push @rpmflags, "-DRPM490";
+}
if ($hversion ge hexversion("4.4.90") && $hversion lt hexversion("5.0")) {
# rpm.org version
push @rpmflags, "-DRPM_ORG";