mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Fxi build with system perl.
This commit is contained in:
parent
cab92a3dee
commit
7cb23318d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133003
@ -46,7 +46,10 @@ post-install:
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||
BROKEN= "Does not build with perl < 5.6"
|
||||
|
||||
post-patch:
|
||||
@${PERL} -i -pe '$$_ = "" if /require 5\.6/' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user