pkgsrc/editors/p5-Padre/patches/patch-ab
hiramatsu 2113cfe2a0 Update p5-Padre to 0.90.
- Improved syntax highlight.
- Reduce memory usage.
- Updated document and translation.
- bug fix.
2011-10-12 15:51:52 +00:00

24 lines
678 B
Text

$NetBSD: patch-ab,v 1.3 2011/10/12 15:51:52 hiramatsu Exp $
Remove special wxPerl handling on MacOS X - pkgsrc' perl can do it self
--- lib/Padre/Perl.pm.orig 2011-08-16 10:50:41.000000000 +0000
+++ lib/Padre/Perl.pm
@@ -134,7 +134,7 @@ sub cperl {
if ( $path =~ s/\b(wxPerl)\z// ) {
# Convert to non-GUI
- if ( -f "${path}perl" ) {
+ if ( -x "${path}perl" ) {
return "${path}perl";
} else {
return "${path}wxPerl";
@@ -191,7 +191,7 @@ sub wxperl {
if ( $path =~ s/\b(perl)\z// ) {
# Convert to Wx launcher
- if ( -f "${path}wxPerl" ) {
+ if ( -x "${path}wxPerl" ) {
return "${path}wxPerl";
} else {
return "${path}perl";