svn commit: r443757 - head/math/p5-Math-BigInt-GMP
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jun 17 10:02:19 UTC 2017
Author: sunpoet
Date: Sat Jun 17 10:02:18 2017
New Revision: 443757
URL: https://svnweb.freebsd.org/changeset/ports/443757
Log:
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
Modified:
head/math/p5-Math-BigInt-GMP/Makefile
Modified: head/math/p5-Math-BigInt-GMP/Makefile
==============================================================================
--- head/math/p5-Math-BigInt-GMP/Makefile Sat Jun 17 10:02:13 2017 (r443756)
+++ head/math/p5-Math-BigInt-GMP/Makefile Sat Jun 17 10:02:18 2017 (r443757)
@@ -3,6 +3,7 @@
PORTNAME= Math-BigInt-GMP
PORTVERSION= 1.6004
+PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,9 +14,7 @@ COMMENT= Math::BigInt::GMP - Use the GMP library for M
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt
LIB_DEPENDS= libgmp.so:math/gmp
-RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= configure
USES= localbase perl5
@@ -23,4 +22,11 @@ USES= localbase perl5
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/BigInt/GMP/GMP.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502508
+BUILD_DEPENDS+= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt
+RUN_DEPENDS+= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list