perl: add path to also for pwd(1) in /usr/local/bin in the Cwd module, bumprev.
This commit is contained in:
parent
ce313f6686
commit
d0e87fc472
2 changed files with 11 additions and 1 deletions
srcpkgs/perl
10
srcpkgs/perl/patches/find_pwd_from_busybox.diff
Normal file
10
srcpkgs/perl/patches/find_pwd_from_busybox.diff
Normal file
|
@ -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.
|
||||||
|
) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'perl'.
|
# Template build file for 'perl'.
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
version=5.10.1
|
version=5.10.1
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://www.cpan.org/src/$pkgname-$version.tar.gz"
|
distfiles="http://www.cpan.org/src/$pkgname-$version.tar.gz"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_script="./Configure"
|
configure_script="./Configure"
|
||||||
|
|
Loading…
Reference in a new issue