aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-09 08:44:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-09 08:44:20 +0000
commit3b303a3dd45e646cfee045c48b1b75efe0565c63 (patch)
treee620a095f8d6a20d2073e4aecb69d0e876695735 /Makefile.PL
parent8a05094bf47d44a4165996b483a43ed67ac7e1eb (diff)
downloadperl-URPM-3b303a3dd45e646cfee045c48b1b75efe0565c63.tar
perl-URPM-3b303a3dd45e646cfee045c48b1b75efe0565c63.tar.gz
perl-URPM-3b303a3dd45e646cfee045c48b1b75efe0565c63.tar.bz2
perl-URPM-3b303a3dd45e646cfee045c48b1b75efe0565c63.tar.xz
perl-URPM-3b303a3dd45e646cfee045c48b1b75efe0565c63.zip
- rpm 4.5 support (thanks to peroyvind) (#35323)
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 50975b1..c1b8d2d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -53,6 +53,9 @@ if ($version =~ /^4\.4/ && (split(/\./, $version))[2] >= 6) {
if ($version =~ /^4\.4/ && (split(/\./, $version))[2] >= 8) {
$ccflags .= ' -DRPM_448';
}
+if ($version =~ /^4\.5/ && (split(/\./, $version))[2] >= 0) {
+ $ccflags .= ' -DRPM_CALLBACK_LONGLONG -DRPM_446 -DRPM_448 -DRPM_450';
+}
WriteMakefile(
NAME => 'URPM',