aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-GMP
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-08-18 20:42:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-08-18 20:42:17 +0000
commit2d432d7f37231bb93f79db44ce1f7d0773cbc80c (patch)
tree457b4e687671556824d34a5a7709ac64e6d35f75 /math/p5-Math-GMP
parentd653b9c7440a707f8f25062cb68a79c5242af169 (diff)
downloadports-2d432d7f37231bb93f79db44ce1f7d0773cbc80c.tar.gz
ports-2d432d7f37231bb93f79db44ce1f7d0773cbc80c.zip
Update to 2.19
Notes
Notes: svn path=/head/; revision=477529
Diffstat (limited to 'math/p5-Math-GMP')
-rw-r--r--math/p5-Math-GMP/Makefile9
-rw-r--r--math/p5-Math-GMP/distinfo6
2 files changed, 9 insertions, 6 deletions
diff --git a/math/p5-Math-GMP/Makefile b/math/p5-Math-GMP/Makefile
index 07c3400485df..73f41ec96d78 100644
--- a/math/p5-Math-GMP/Makefile
+++ b/math/p5-Math-GMP/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Math-GMP
-PORTVERSION= 2.17
+PORTVERSION= 2.19
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -12,11 +12,14 @@ COMMENT= Perl module that provides an interface to the GMP library
LICENSE= LGPL20+
-BUILD_DEPENDS= p5-Devel-CheckLib>=0.9:devel/p5-Devel-CheckLib
LIB_DEPENDS= libgmp.so:math/gmp
-USE_PERL5= configure
USES= localbase perl5
+USE_PERL5= configure
+
+post-patch:
+ @${REINPLACE_CMD} -e '/Alien::GMP/d' ${WRKSRC}/META.json ${WRKSRC}/META.yml ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|Alien::Base::Wrapper->mm_args|"LIBS" => ["-lgmp"]|' ${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMP/GMP.so
diff --git a/math/p5-Math-GMP/distinfo b/math/p5-Math-GMP/distinfo
index f4c7f947f8b7..054a1130dd9c 100644
--- a/math/p5-Math-GMP/distinfo
+++ b/math/p5-Math-GMP/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522941268
-SHA256 (Math-GMP-2.17.tar.gz) = 27e809df0d6cfcfc5851c0f68773b6e563347f43de8aff4989454c782754fb1f
-SIZE (Math-GMP-2.17.tar.gz) = 33310
+TIMESTAMP = 1534586427
+SHA256 (Math-GMP-2.19.tar.gz) = 11e1e071411019d6681091b0bc97384658213e9f3088ee8587683452832807b0
+SIZE (Math-GMP-2.19.tar.gz) = 33475