Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2017 10:02:08 +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: r443755 - head/devel/p5-DateTime-Util-Calc
Message-ID:  <201706171002.v5HA28tE083719@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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