Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/perl5.mk
Show First 20 Lines • Show All 249 Lines • ▼ Show 20 Lines | |||||
.if !target(do-configure) | .if !target(do-configure) | ||||
do-configure: | do-configure: | ||||
@if [ -f ${SCRIPTDIR}/configure ]; then \ | @if [ -f ${SCRIPTDIR}/configure ]; then \ | ||||
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ | cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ | ||||
${SCRIPTDIR}/configure; \ | ${SCRIPTDIR}/configure; \ | ||||
fi | fi | ||||
@cd ${CONFIGURE_WRKSRC} && \ | @cd ${CONFIGURE_WRKSRC} && \ | ||||
${SETENV} ${CONFIGURE_ENV} \ | ${SETENV} ${CONFIGURE_ENV} \ | ||||
${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} | ${PERL5} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} | ||||
.if !${_USE_PERL5:Mmodbuild*} | .if !${_USE_PERL5:Mmodbuild*} | ||||
@cd ${CONFIGURE_WRKSRC} && \ | @cd ${CONFIGURE_WRKSRC} && \ | ||||
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile | ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile | ||||
.endif # ! modbuild | .endif # ! modbuild | ||||
.endif # !target(do-configure) | .endif # !target(do-configure) | ||||
.endif # configure | .endif # configure | ||||
.if ${_USE_PERL5:Mmodbuild*} | .if ${_USE_PERL5:Mmodbuild*} | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |