… | |
… | |
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 | |
|
|
40 | # patch ExtUtils::MM_Any *temporarily* because it breaks Pod::Parser |
|
|
41 | patch ExtUtils/MM_Unix.pm mm_unix_pm ' |
|
|
42 | /^sub metafile_data/ a\ |
|
|
43 | return; # patched by staticperl |
|
|
44 | ' |
|
|
45 | |
40 | # patch ExtUtils::Miniperl to always add DynaLoader |
46 | # patch ExtUtils::Miniperl to always add DynaLoader |
41 | # this is required for dynamic loading in static perls, |
47 | # this is required for dynamic loading in static perls, |
42 | # and static loading in dynamic perls, when rebuilding a new perl. |
48 | # and static loading in dynamic perls, when rebuilding a new perl. |
43 | # Why this patch is necessray I don't understand. Yup. |
49 | # Why this patch is necessray I don't understand. Yup. |
44 | patch ExtUtils/Miniperl.pm extutils_miniperl.pm ' |
50 | patch ExtUtils/Miniperl.pm extutils_miniperl.pm ' |