summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-04-03 23:59:50 +0000
committerkris <kris@FreeBSD.org>2004-04-03 23:59:50 +0000
commit025287cfcbaabf6e17eb2a921906d80578712225 (patch)
tree89cdaae1518c2b469b26cb6bd6d67f956f973ede /Mk/bsd.port.mk
parent09b81d696bfa28cc0236aae028bd71b98749da18 (diff)
downloadFreeBSD-ports-025287cfcbaabf6e17eb2a921906d80578712225.zip
FreeBSD-ports-025287cfcbaabf6e17eb2a921906d80578712225.tar.gz
Add patch hunk forgotten in previous commit (don't try to edit the makefile
that is not created by Build.PL when PERL_MODBUILD is set) PR: 62422 Submitted by: mat
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 4fc5910..3797db2 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3379,9 +3379,11 @@ do-configure:
@cd ${CONFIGURE_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} \
${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
+.if !defined(PERL_MODBUILD)
@cd ${CONFIGURE_WRKSRC} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.endif
+.endif
.if defined(USE_IMAKE)
@(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF})
.endif
OpenPOWER on IntegriCloud