Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/perl5.mk
Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | CONFIGURE_ARGS+=--install_path lib="${PREFIX}/${SITE_PERL_REL}" \ | ||||
--install_path libdoc="${MAN3PREFIX}/man/man3" \ | --install_path libdoc="${MAN3PREFIX}/man/man3" \ | ||||
--install_path bindoc="${MAN1PREFIX}/man/man1" | --install_path bindoc="${MAN1PREFIX}/man/man1" | ||||
CONFIGURE_SCRIPT?= Build.PL | CONFIGURE_SCRIPT?= Build.PL | ||||
PL_BUILD?= Build | PL_BUILD?= Build | ||||
CONFIGURE_ARGS+=--destdir ${STAGEDIR} | CONFIGURE_ARGS+=--destdir ${STAGEDIR} | ||||
DESTDIRNAME= --destdir | DESTDIRNAME= --destdir | ||||
.if ${_USE_PERL5:Mmodbuild} | .if ${_USE_PERL5:Mmodbuild} | ||||
.if ${PORTNAME} != Module-Build | .if ${PORTNAME} != Module-Build | ||||
BUILD_DEPENDS+= p5-Module-Build>=0.4206:${PORTSDIR}/devel/p5-Module-Build | BUILD_DEPENDS+= p5-Module-Build>=0.4206:devel/p5-Module-Build | ||||
.endif | .endif | ||||
CONFIGURE_ARGS+=--create_packlist 1 | CONFIGURE_ARGS+=--create_packlist 1 | ||||
.endif | .endif | ||||
.if ${_USE_PERL5:Mmodbuildtiny} | .if ${_USE_PERL5:Mmodbuildtiny} | ||||
.if ${PORTNAME} != Module-Build-Tiny | .if ${PORTNAME} != Module-Build-Tiny | ||||
BUILD_DEPENDS+= p5-Module-Build-Tiny>=0.039:${PORTSDIR}/devel/p5-Module-Build-Tiny | BUILD_DEPENDS+= p5-Module-Build-Tiny>=0.039:devel/p5-Module-Build-Tiny | ||||
.endif | .endif | ||||
CONFIGURE_ARGS+=--create_packlist 1 | CONFIGURE_ARGS+=--create_packlist 1 | ||||
.endif | .endif | ||||
.elif ${_USE_PERL5:Mconfigure} | .elif ${_USE_PERL5:Mconfigure} | ||||
CONFIGURE_ARGS+=INSTALLDIRS="site" | CONFIGURE_ARGS+=INSTALLDIRS="site" | ||||
.endif # modbuild | .endif # modbuild | ||||
.if ${_USE_PERL5:Mconfigure} | .if ${_USE_PERL5:Mconfigure} | ||||
_USE_PERL5+= build run | _USE_PERL5+= build run | ||||
# Disable AutoInstall from attempting to install from CPAN directly in | # Disable AutoInstall from attempting to install from CPAN directly in | ||||
# the case of missing dependencies. This causes the build to loop on | # the case of missing dependencies. This causes the build to loop on | ||||
# the build cluster asking for interactive input. | # the build cluster asking for interactive input. | ||||
CONFIGURE_ENV+= PERL_EXTUTILS_AUTOINSTALL="--skipdeps" | CONFIGURE_ENV+= PERL_EXTUTILS_AUTOINSTALL="--skipdeps" | ||||
.if defined(BATCH) && !defined(IS_INTERACTIVE) | .if defined(BATCH) && !defined(IS_INTERACTIVE) | ||||
CONFIGURE_ENV+= PERL_MM_USE_DEFAULT="YES" | CONFIGURE_ENV+= PERL_MM_USE_DEFAULT="YES" | ||||
.endif # defined(BATCH) && !defined(IS_INTERACTIVE) | .endif # defined(BATCH) && !defined(IS_INTERACTIVE) | ||||
.endif # configure | .endif # configure | ||||
.if ${_USE_PERL5:Mextract} | .if ${_USE_PERL5:Mextract} | ||||
EXTRACT_DEPENDS+= ${PERL5_DEPEND}:${PORTSDIR}/lang/${PERL_PORT} | EXTRACT_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} | ||||
.endif | .endif | ||||
.if ${_USE_PERL5:Mpatch} | .if ${_USE_PERL5:Mpatch} | ||||
PATCH_DEPENDS+= ${PERL5_DEPEND}:${PORTSDIR}/lang/${PERL_PORT} | PATCH_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} | ||||
.endif | .endif | ||||
.if ${_USE_PERL5:Mbuild} | .if ${_USE_PERL5:Mbuild} | ||||
BUILD_DEPENDS+= ${PERL5_DEPEND}:${PORTSDIR}/lang/${PERL_PORT} | BUILD_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} | ||||
.endif | .endif | ||||
.if ${_USE_PERL5:Mrun} | .if ${_USE_PERL5:Mrun} | ||||
RUN_DEPENDS+= ${PERL5_DEPEND}:${PORTSDIR}/lang/${PERL_PORT} | RUN_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} | ||||
.endif | .endif | ||||
.if ${_USE_PERL5:Mconfigure} | .if ${_USE_PERL5:Mconfigure} | ||||
CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ | CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ | ||||
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" | INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" | ||||
CONFIGURE_SCRIPT?= Makefile.PL | CONFIGURE_SCRIPT?= Makefile.PL | ||||
MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL} | MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL} | ||||
.if !defined(THIS_IS_OLD_PERL) | .if !defined(THIS_IS_OLD_PERL) | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |