aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-04-03 23:59:50 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-04-03 23:59:50 +0000
commit56963240367edf0dcddb89e742befe83dccf7ab5 (patch)
tree2982e929cfcdaa7384eff8bd58fc2b0c6409cabf /Mk/bsd.port.mk
parentc6c2dea2662fae365e0cf9d05b3c95561d5cb3a7 (diff)
downloadports-56963240367edf0dcddb89e742befe83dccf7ab5.tar.gz
ports-56963240367edf0dcddb89e742befe83dccf7ab5.zip
Notes
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 4fc5910e7988..3797db2bd90a 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