From d0e87fc47266723a146decd228d04f7f8527688f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Oct 2010 03:11:47 +0200 Subject: [PATCH] perl: add path to also for pwd(1) in /usr/local/bin in the Cwd module, bumprev. --- srcpkgs/perl/patches/find_pwd_from_busybox.diff | 10 ++++++++++ srcpkgs/perl/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/perl/patches/find_pwd_from_busybox.diff diff --git a/srcpkgs/perl/patches/find_pwd_from_busybox.diff b/srcpkgs/perl/patches/find_pwd_from_busybox.diff new file mode 100644 index 00000000000..66a28faafa6 --- /dev/null +++ b/srcpkgs/perl/patches/find_pwd_from_busybox.diff @@ -0,0 +1,10 @@ +--- lib/Cwd.pm.orig 2010-10-28 03:05:03.000000000 +0200 ++++ lib/Cwd.pm 2010-10-28 03:05:29.000000000 +0200 +@@ -336,6 +336,7 @@ $METHOD_MAP{NT} = $METHOD_MAP{MSWin32}; + my $pwd_cmd; + foreach my $try ('/bin/pwd', + '/usr/bin/pwd', ++ '/usr/local/bin/pwd', + '/QOpenSys/bin/pwd', # OS/400 PASE. + ) { + diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template index 6e759897b5f..70f6fb42dd7 100644 --- a/srcpkgs/perl/template +++ b/srcpkgs/perl/template @@ -1,7 +1,7 @@ # Template build file for 'perl'. pkgname=perl version=5.10.1 -revision=1 +revision=2 distfiles="http://www.cpan.org/src/$pkgname-$version.tar.gz" build_style=configure configure_script="./Configure"