summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2013-05-30 06:17:36 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2013-05-30 06:17:36 +0000
commitb479bad1ee2f6c6afcd4251a6443baad5b46a212 (patch)
tree2ea2fbc4f940a77cd273f5fc8687018d35604a20
parentd2926c7dba7d7d712a3735420aef8e2244bde4c7 (diff)
downloadperl-RPM4-b479bad1ee2f6c6afcd4251a6443baad5b46a212.tar
perl-RPM4-b479bad1ee2f6c6afcd4251a6443baad5b46a212.tar.gz
perl-RPM4-b479bad1ee2f6c6afcd4251a6443baad5b46a212.tar.bz2
perl-RPM4-b479bad1ee2f6c6afcd4251a6443baad5b46a212.tar.xz
perl-RPM4-b479bad1ee2f6c6afcd4251a6443baad5b46a212.zip
fix build now that rpm is translated
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@250 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/RPM4/Makefile.PL b/RPM4/Makefile.PL
index 40fc75b..c6bd6e6 100644
--- a/RPM4/Makefile.PL
+++ b/RPM4/Makefile.PL
@@ -5,7 +5,7 @@ use ExtUtils::MakeMaker;
use Getopt::Long;
#- require at least rpm 4.8
-my $rpm_version = `rpm --version` =~ /version ([0-9.]+)(?:-beta.*)?$/ ? version->new("v$1") : ();
+my $rpm_version = `LC_ALL=C rpm --version` =~ /version ([0-9.]+)(?:-beta.*)?$/ ? version->new("v$1") : ();
$rpm_version ge 4.8.0
or die <<BARF;
Unable to build RPM4 with too old (or undetected) rpm version $rpm_version