aboutsummaryrefslogtreecommitdiff
path: root/math/p5-Math-BigInt-GMP
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-05 06:56:18 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-05 06:56:18 +0000
commit5e06901c396343ef79137207320bdbb383435cbb (patch)
treef1b12e43c4957712ca0fd56650b1bda57831a37d /math/p5-Math-BigInt-GMP
parentbe444a2d99fd14557710475412df7b742d93069e (diff)
downloadports-5e06901c396343ef79137207320bdbb383435cbb.tar.gz
ports-5e06901c396343ef79137207320bdbb383435cbb.zip
Support STAGEDIR.
Notes
Notes: svn path=/head/; revision=332813
Diffstat (limited to 'math/p5-Math-BigInt-GMP')
-rw-r--r--math/p5-Math-BigInt-GMP/Makefile7
-rw-r--r--math/p5-Math-BigInt-GMP/pkg-plist3
2 files changed, 4 insertions, 6 deletions
diff --git a/math/p5-Math-BigInt-GMP/Makefile b/math/p5-Math-BigInt-GMP/Makefile
index 271b8bebfc2b..ea8b465c0baa 100644
--- a/math/p5-Math-BigInt-GMP/Makefile
+++ b/math/p5-Math-BigInt-GMP/Makefile
@@ -14,16 +14,13 @@ LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Math-BigInt>=1.997:${PORTSDIR}/math/p5-Math-BigInt
-LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp
-RUN_DEPENDS= p5-Math-BigInt>=1.997:${PORTSDIR}/math/p5-Math-BigInt
+LIB_DEPENDS= libgmp.so.10:${PORTSDIR}/math/gmp
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure patch
CONFIGURE_ARGS= INC="-I${LOCALBASE}/include"
-MAN3= Math::BigInt::GMP.3
-
-NO_STAGE= yes
post-patch:
@${PERL} -pi -e "s!-lgmp!-L${LOCALBASE}/lib $$&!;" \
-e "if (/'LIBS'/) { print qq!'INC' => '-I${LOCALBASE}/include',!; }" \
diff --git a/math/p5-Math-BigInt-GMP/pkg-plist b/math/p5-Math-BigInt-GMP/pkg-plist
index 479fed311a77..7ecd8d6b2030 100644
--- a/math/p5-Math-BigInt-GMP/pkg-plist
+++ b/math/p5-Math-BigInt-GMP/pkg-plist
@@ -1,8 +1,9 @@
+%%PERL5_MAN3%%/Math::BigInt::GMP.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Math/BigInt/GMP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP/GMP.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP/GMP.so
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt/GMP
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/BigInt
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Math/BigInt