default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
# See https://rt.cpan.org/Public/Bug/Display.html?id=102269 for a change
# that breaks any options, like --disable-stc.
# For our old wxgtk (2.8.x), we do need that option. With wxgtk-new (3.x),
# STC is installed by default apparently.
# Introduced in 0.9924, valid up to 0.9928 at least.
patch -R -p1 <<EOT
diff -ruN Wx-0.9923/build/Wx/build/Options.pm Wx-0.9924/build/Wx/build/Options.pm
--- Wx-0.9923/build/Wx/build/Options.pm	2014-03-08 14:01:15.000000000 +0100
+++ Wx-0.9924/build/Wx/build/Options.pm	2015-03-09 23:07:19.000000000 +0100
@@ -11,7 +11,6 @@
 =cut
 
 use Getopt::Long;
-Getopt::Long::Configure( 'pass_through' );
 
 my $help         = 0;
 my $mksymlinks   = 0;
EOT
