Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2016 06:47:45 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413823 - head/devel/p5-Inline-C
Message-ID:  <201604230647.u3N6ljmj053580@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Apr 23 06:47:44 2016
New Revision: 413823
URL: https://svnweb.freebsd.org/changeset/ports/413823

Log:
  - Fix *_DEPENDS: ExtUtils::MakeMaker 7.00+ is already in Perl 5.22+
  - Bump PORTREVISION for dependency change

Modified:
  head/devel/p5-Inline-C/Makefile

Modified: head/devel/p5-Inline-C/Makefile
==============================================================================
--- head/devel/p5-Inline-C/Makefile	Sat Apr 23 06:47:40 2016	(r413822)
+++ head/devel/p5-Inline-C/Makefile	Sat Apr 23 06:47:44 2016	(r413823)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Inline-C
 PORTVERSION=	0.76
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -13,8 +14,7 @@ COMMENT=	Write Perl Subroutines in C
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	p5-ExtUtils-MakeMaker>=7.00:devel/p5-ExtUtils-MakeMaker \
-		p5-Inline>=0.79:devel/p5-Inline \
+BUILD_DEPENDS=	p5-Inline>=0.79:devel/p5-Inline \
 		p5-Parse-RecDescent>=1.967.009:devel/p5-Parse-RecDescent \
 		p5-Pegex>=0.58:devel/p5-Pegex
 RUN_DEPENDS:=	${BUILD_DEPENDS}
@@ -30,4 +30,11 @@ NO_ARCH=	yes
 USE_PERL5=	configure
 USES=		perl5
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+=	p5-ExtUtils-MakeMaker>=7.00:devel/p5-ExtUtils-MakeMaker
+RUN_DEPENDS+=	p5-ExtUtils-MakeMaker>=7.00:devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604230647.u3N6ljmj053580>