aboutsummaryrefslogtreecommitdiff
path: root/www/p5-RT-Extension-SLA
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-RT-Extension-SLA')
-rw-r--r--www/p5-RT-Extension-SLA/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/p5-RT-Extension-SLA/Makefile b/www/p5-RT-Extension-SLA/Makefile
index 56ad92866698..2dd9bc73b88a 100644
--- a/www/p5-RT-Extension-SLA/Makefile
+++ b/www/p5-RT-Extension-SLA/Makefile
@@ -31,9 +31,13 @@ MAN3= RT::Action::SLA_SetDefault.3 \
RT::Condition::SLA_RequireStartsSet.3 RT::Queue_SLA.3 \
RT::Action::SLA_SetStarts.3 RT::Action::SLA.3
-# Don't use normal CONFIGURE_ARGS
+# Don't use normal CONFIGURE_ARGS. Disable doc_?????_indstall targets to
+# suppress installing perllocal.pod. This duplicates code from bsd.perl.mk
+# rather undesirably.
do-configure:
@cd ${CONFIGURE_WRKSRC} && \
- ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT}
+ ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./${CONFIGURE_SCRIPT} && \
+ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
+
.include <bsd.port.mk>