From e574fa64644a04ba211ac21a4baa9e9aa3ccc546 Mon Sep 17 00:00:00 2001 From: Dexter Morgan Date: Fri, 15 Apr 2011 19:50:37 +0000 Subject: Backport thierry fix (first try to build with rpm-4.9.1) --- Makefile.PL | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.PL') 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"; -- cgit v1.2.1