Fix build for Perl 5.14 by adding a dependency on lang/p5-Switch in that case.
PR: ports/152737 Submitted by: Christoph Moench-Tegeder [cmt burggraben.net]
This commit is contained in:
parent
418178a58a
commit
90e450c827
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274529
1 changed files with 7 additions and 1 deletions
|
@ -112,6 +112,12 @@ STRIP=
|
|||
MAKE_ENV+= BUILDTYPE=${BUILDTYPE}
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} >= 501400
|
||||
BUILD_DEPENDS+= p5-Switch>=0:${PORTSDIR}/lang/p5-Switch
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG}
|
||||
@${ECHO_MSG} "To build Chromium, you should have around 1 GB of memory"
|
||||
|
@ -170,4 +176,4 @@ do-install:
|
|||
${COPYTREE_SHARE} "locales resources" ${DATADIR}
|
||||
${LN} -sf ${DATADIR}/chrome ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue