… | |
… | |
29 | 1i\ |
29 | 1i\ |
30 | use CPAN::MyConfig; # patched by staticperl |
30 | use CPAN::MyConfig; # patched by staticperl |
31 | ' |
31 | ' |
32 | |
32 | |
33 | # patch ExtUtils::MM_Unix to always search blib for modules |
33 | # patch ExtUtils::MM_Unix to always search blib for modules |
34 | # when building a perl - this works around Pango being misdetected |
34 | # when building a perl - this works around Pango/Gtk2 being misdetected |
35 | # as not being an XS module. |
35 | # as not being an XS module. |
36 | patch ExtUtils/MM_Unix.pm mm_unix_pm ' |
36 | patch ExtUtils/MM_Unix.pm mm_unix_pm ' |
37 | /^sub staticmake/,/^}/ s/if (@{$self->{C}}) {/if (@{$self->{C}} or $self->{NAME} =~ m%^(Pango|Gtk2)$%) { # patched by staticperl/ |
37 | /^sub staticmake/,/^}/ s/if (@{$self->{C}}) {/if (@{$self->{C}} or $self->{NAME} =~ m%^(Pango|Gtk2)$%) { # patched by staticperl/ |
38 | ' |
38 | ' |
39 | |
39 | |