Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 20:20:39 +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: r399759 - head/math/p5-Math-GMPq
Message-ID:  <201510192020.t9JKKdwo029048@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Oct 19 20:20:39 2015
New Revision: 399759
URL: https://svnweb.freebsd.org/changeset/ports/399759

Log:
  - Use USES=localbase
  - Strip shared library
  - Bump PORTREVISION for package change

Modified:
  head/math/p5-Math-GMPq/Makefile

Modified: head/math/p5-Math-GMPq/Makefile
==============================================================================
--- head/math/p5-Math-GMPq/Makefile	Mon Oct 19 20:20:35 2015	(r399758)
+++ head/math/p5-Math-GMPq/Makefile	Mon Oct 19 20:20:39 2015	(r399759)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Math-GMPq
 PORTVERSION=	0.37
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -18,8 +18,12 @@ LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/
 TEST_DEPENDS=	p5-Math-GMP>=0:${PORTSDIR}/math/p5-Math-GMP \
 		p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
 
-CONFIGURE_ARGS=	INC=-I${LOCALBASE}/include LIBS="-L${LOCALBASE}/lib -lgmp"
 USE_PERL5=	configure
-USES=		perl5
+USES=		localbase perl5
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPq/GMPq.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPq/Random/Random.so
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GMPq/V/V.so
 
 .include <bsd.port.mk>



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