svn commit: r385357 - head/devel/p5-Lexical-Var

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun May 3 21:29:11 UTC 2015


Author: amdmi3
Date: Sun May  3 21:29:10 2015
New Revision: 385357
URL: https://svnweb.freebsd.org/changeset/ports/385357

Log:
  - Mark BROKEN with perl < 5.18:
  
  lib/Lexical/Var.xs:474:2: error: use of undeclared identifier 'PADNAME'
  
  Approved by:	portmgr blanket

Modified:
  head/devel/p5-Lexical-Var/Makefile

Modified: head/devel/p5-Lexical-Var/Makefile
==============================================================================
--- head/devel/p5-Lexical-Var/Makefile	Sun May  3 21:24:29 2015	(r385356)
+++ head/devel/p5-Lexical-Var/Makefile	Sun May  3 21:29:10 2015	(r385357)
@@ -17,7 +17,13 @@ LICENSE_COMB=	dual
 USES=		perl5
 USE_PERL5=	modbuild
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501800
+BROKEN=		does not build with perl < 5.18
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/Lexical::SealRequireHints/d' ${WRKSRC}/Build.PL ${WRKSRC}/lib/Lexical/Var.pm
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list