svn commit: r443755 - head/devel/p5-DateTime-Util-Calc

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Jun 17 10:02:10 UTC 2017


Author: sunpoet
Date: Sat Jun 17 10:02:08 2017
New Revision: 443755
URL: https://svnweb.freebsd.org/changeset/ports/443755

Log:
  Convert to options dependency helper [1]
  
  - Remove Perl core modules [2]
  - Add NO_ARCH [1]
  - Bump PORTREVISION for dependency change
  
  Approved by:	portmgr (blanket) [1]
  With hat:	perl [2]

Modified:
  head/devel/p5-DateTime-Util-Calc/Makefile

Modified: head/devel/p5-DateTime-Util-Calc/Makefile
==============================================================================
--- head/devel/p5-DateTime-Util-Calc/Makefile	Sat Jun 17 10:02:03 2017	(r443754)
+++ head/devel/p5-DateTime-Util-Calc/Makefile	Sat Jun 17 10:02:08 2017	(r443755)
@@ -3,7 +3,7 @@
 
 PORTNAME=	DateTime-Util-Calc
 PORTVERSION=	0.13002
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,19 +11,16 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	markun at onohara.to
 COMMENT=	DateTime Calculation Utilities
 
-BUILD_DEPENDS=	p5-Math-BigInt>=0:math/p5-Math-BigInt \
-		p5-DateTime>=0:devel/p5-DateTime
+BUILD_DEPENDS=	p5-DateTime>=0:devel/p5-DateTime
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
 
 OPTIONS_DEFINE=	GMP
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGMP}
-BUILD_DEPENDS+=	p5-Math-BigInt-GMP>=0:math/p5-Math-BigInt-GMP
-.endif
+GMP_BUILD_DEPENDS=	p5-Math-BigInt-GMP>=0:math/p5-Math-BigInt-GMP
+GMP_RUN_DEPENDS=	p5-Math-BigInt-GMP>=0:math/p5-Math-BigInt-GMP
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list