aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-04-04 07:59:50 +0800
committerkris <kris@FreeBSD.org>2004-04-04 07:59:50 +0800
commit025287cfcbaabf6e17eb2a921906d80578712225 (patch)
tree89cdaae1518c2b469b26cb6bd6d67f956f973ede /Mk
parent09b81d696bfa28cc0236aae028bd71b98749da18 (diff)
downloadfreebsd-ports-gnome-025287cfcbaabf6e17eb2a921906d80578712225.tar.gz
freebsd-ports-gnome-025287cfcbaabf6e17eb2a921906d80578712225.tar.zst
freebsd-ports-gnome-025287cfcbaabf6e17eb2a921906d80578712225.zip
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')
-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