aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-09-05 00:54:39 +0800
committeraz <az@FreeBSD.org>2013-09-05 00:54:39 +0800
commitd3e525166d5031c626f5e9f08c3d104edf266bd4 (patch)
tree9ed0a39c2342bb438cc4778013b61fa8bcce72ba
parent848f7c9051b54802c1a2d68c067617345d19a439 (diff)
downloadfreebsd-ports-gnome-d3e525166d5031c626f5e9f08c3d104edf266bd4.tar.gz
freebsd-ports-gnome-d3e525166d5031c626f5e9f08c3d104edf266bd4.tar.zst
freebsd-ports-gnome-d3e525166d5031c626f5e9f08c3d104edf266bd4.zip
- Fix things after recent modbuildtiny commit
Reviewed by: bapt@ Kudos to: bapt@
-rw-r--r--Mk/Uses/perl5.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 260cb489f339..0024e4811294 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -153,12 +153,16 @@ _MANPAGES+= ${P5MAN${sect}:S%^%${PREFIX}/lib/perl5/${PERL_VER}/man/man${sect}/%}
.if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny}
_USE_PERL5+= configure
CONFIGURE_SCRIPT?= Build.PL
+.if ${_USE_PERL5:Mmodbuild}
.if ${PORTNAME} != Module-Build
BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
.endif
+.endif
.if ${_USE_PERL5:Mmodbuildtiny}
+.if ${PORTNAME} != Module-Build-Tiny
BUILD_DEPENDS+= ${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny
.endif
+.endif
ALL_TARGET?=
PL_BUILD?= Build
CONFIGURE_ARGS+= \
@@ -216,14 +220,14 @@ do-configure:
@cd ${CONFIGURE_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} \
${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
-.if !${_USE_PERL5:Mmodbuild}
+.if !${_USE_PERL5:Mmodbuild*}
@cd ${CONFIGURE_WRKSRC} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.endif # ! modbuild
.endif # !target(do-configure)
.endif # configure
-.if ${_USE_PERL5:Mmodbuild}
+.if ${_USE_PERL5:Mmodbuild*}
.if !target(do-build)
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} ${ALL_TARGET})