diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-06-17 10:02:27 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-06-17 10:02:27 +0000 |
| commit | 6846048075937eac166b9d8cd15b9cabfd4c7787 (patch) | |
| tree | ee2e50b813e31ecafe1194ff4717b1850acbb68b /math/p5-Math-String | |
| parent | Add PERL_LEVEL check (diff) | |
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
Notes
Notes:
svn path=/head/; revision=443759
Diffstat (limited to 'math/p5-Math-String')
| -rw-r--r-- | math/p5-Math-String/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/math/p5-Math-String/Makefile b/math/p5-Math-String/Makefile index 91b610780e53..4590d1e9684b 100644 --- a/math/p5-Math-String/Makefile +++ b/math/p5-Math-String/Makefile @@ -3,6 +3,7 @@ PORTNAME= Math-String PORTVERSION= 1.29 +PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,11 +14,15 @@ COMMENT= Perl module to calculate with strings as if they were big integers LICENSE= ART10 GPLv1 LICENSE_COMB= dual -BUILD_DEPENDS= p5-Math-BigInt>=1.999802:math/p5-Math-BigInt -RUN_DEPENDS:= ${BUILD_DEPENDS} - NO_ARCH= yes USES= perl5 USE_PERL5= configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502508 +BUILD_DEPENDS+= p5-Math-BigInt>=1.999802:math/p5-Math-BigInt +RUN_DEPENDS+= p5-Math-BigInt>=1.999802:math/p5-Math-BigInt +.endif + +.include <bsd.port.post.mk> |
