From 56963240367edf0dcddb89e742befe83dccf7ab5 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sat, 3 Apr 2004 23:59:50 +0000 Subject: 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 --- Mk/bsd.port.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Mk') 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 -- cgit v1.2.3