summaryrefslogtreecommitdiff
path: root/Mk/Uses
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 18:45:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-07 18:45:28 +0000
commit70a6c7d89d06bae2613345e9ff79881e45d10c1c (patch)
treecb0e3452c83115e48b2321dc5bc12b251e4b8849 /Mk/Uses
parent- Add NO_ARCH (diff)
- Fix compatibility with fmake
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=398782
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/perl5.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 0d32c45e0ede..011f483163ef 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -308,7 +308,7 @@ fix-perl-things:
@${RM} -f ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod* || :
@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || :
-.if !target(do-test) && (${USE_PERL5:Mmodbuild*} || ${USE_PERL5:Mconfigure})
+.if !target(do-test) && (!empty(USE_PERL5:Mmodbuild*) || !empty(USE_PERL5:Mconfigure))
TEST_TARGET?= test
TEST_WRKSRC?= ${BUILD_WRKSRC}
do-test: