$NetBSD: patch-aa,v 1.2 2010/08/20 07:01:35 sno Exp $

Remove special wxPerl handling on MacOS X - pkgsrc' perl can do it self

--- script/padre.orig	2010-08-17 03:55:44.000000000 +0000
+++ script/padre
@@ -11,20 +11,6 @@ local $SIG{__DIE__} =
 	? sub { print STDERR Carp::longmess "\nDIE: @_\n" . ( "-" x 80 ) . "\n" }
 	: $SIG{__DIE__};
 
-# Must run using wxPerl on OS X.
-if ( $^O eq 'darwin' and $^X !~ m{/wxPerl} ) {
-	require File::Which;
-	my $perl = scalar File::Which::which('wxPerl');
-	chomp($perl);
-	if ( -e $perl ) {
-		warn "spawning 'wxPerl' interpreter for OS X\n";
-		system( $perl, '-S', $0, @ARGV );
-	} else {
-		warn "padre cannot find wxPerl executable (which it requires on OS X)\n";
-	}
-	exit 0;
-}
-
 # Handle special command line cases early, because options like --home
 # MUST be processed before the Padre.pm library is loaded.
 require Getopt::Long;
