aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-06-01 11:47:46 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-06-01 11:47:46 +0000
commite9f93aa1ade286d86c244c3b3333e4ce5f360fd6 (patch)
tree2155082676c54e99bde960a306029012abcddbfc /Makefile.PL
parentc02c5a34994abc26925269d2ecb5737a6c32292f (diff)
downloadperl-URPM-e9f93aa1ade286d86c244c3b3333e4ce5f360fd6.tar
perl-URPM-e9f93aa1ade286d86c244c3b3333e4ce5f360fd6.tar.gz
perl-URPM-e9f93aa1ade286d86c244c3b3333e4ce5f360fd6.tar.bz2
perl-URPM-e9f93aa1ade286d86c244c3b3333e4ce5f360fd6.tar.xz
perl-URPM-e9f93aa1ade286d86c244c3b3333e4ce5f360fd6.zip
It's nice to be able to compile with rpm 4.4.6, but it's nice to be able to
compile with older rpms too.
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index de6e71d..8ec2248 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -50,6 +50,9 @@ my $ccflags = '-Wall -fno-strict-aliasing';
if ($version =~ /^4\.(4\.[5-9]$|4\.\d\d|[5-9]\.|\d\d)/) {
$ccflags .= ' -DRPM_CALLBACK_LONGLONG';
}
+if ($version eq '4.4.6') {
+ $ccflags .= ' -DRPM_446';
+}
WriteMakefile(
NAME => 'URPM',