diff --git a/lang/perl/perlmod.mk b/lang/perl/perlmod.mk index 928944c5b..e8706dc6a 100644 --- a/lang/perl/perlmod.mk +++ b/lang/perl/perlmod.mk @@ -128,8 +128,8 @@ define perlmod/Install @echo "---> Stripping modules in: $(strip $(1))$(PERL_SITELIB)" find $(strip $(1))$(PERL_SITELIB) -name \*.pm -or -name \*.pl | \ xargs -r sed -i \ - -e '/^=\(head\|pod\|item\|over\|back\|encoding\)/,/^=cut/d' \ - -e '/^=\(head\|pod\|item\|over\|back\|encoding\)/,$$$$d' \ + -e '/^=\(head\|pod\|item\|over\|back\|encoding\|begin\|end\|for\)/,/^=cut/d' \ + -e '/^=\(head\|pod\|item\|over\|back\|encoding\|begin\|end\|for\)/,$$$$d' \ -e '/^#$$$$/d' \ -e '/^#[^!"'"'"']/d' endef