Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2018 20:42:18 +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: r477529 - head/math/p5-Math-GMP
Message-ID:  <201808182042.w7IKgIQk008170@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Aug 18 20:42:17 2018
New Revision: 477529
URL: https://svnweb.freebsd.org/changeset/ports/477529

Log:
  Update to 2.19
  
  Changes:	https://metacpan.org/changes/distribution/Math-GMP

Modified:
  head/math/p5-Math-GMP/Makefile
  head/math/p5-Math-GMP/distinfo

Modified: head/math/p5-Math-GMP/Makefile
==============================================================================
--- head/math/p5-Math-GMP/Makefile	Sat Aug 18 20:42:12 2018	(r477528)
+++ head/math/p5-Math-GMP/Makefile	Sat Aug 18 20:42:17 2018	(r477529)
@@ -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
 
 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

Modified: head/math/p5-Math-GMP/distinfo
==============================================================================
--- head/math/p5-Math-GMP/distinfo	Sat Aug 18 20:42:12 2018	(r477528)
+++ head/math/p5-Math-GMP/distinfo	Sat Aug 18 20:42:17 2018	(r477529)
@@ -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



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