aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-GMPq
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Math-GMPq')
-rw-r--r--math/p5-Math-GMPq/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/math/p5-Math-GMPq/Makefile b/math/p5-Math-GMPq/Makefile
index 0dcddb05babf..45233ce372e4 100644
--- a/math/p5-Math-GMPq/Makefile
+++ b/math/p5-Math-GMPq/Makefile
@@ -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/gmp
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>