diff options
author | Maxime Henrion <mux@FreeBSD.org> | 2007-02-10 14:54:55 +0000 |
---|---|---|
committer | Maxime Henrion <mux@FreeBSD.org> | 2007-02-10 14:54:55 +0000 |
commit | 03a1c3ccad0e3dbd37d7cfc456ae455f87d258b8 (patch) | |
tree | 0cc97d6a442b43ee610ca3632292ec9da8887e4a /net/p5-Net-SSH-Perl | |
parent | 27c870c2ea9b3e491f57547681d6433e9022fcca (diff) |
Notes
Diffstat (limited to 'net/p5-Net-SSH-Perl')
-rw-r--r-- | net/p5-Net-SSH-Perl/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/p5-Net-SSH-Perl/Makefile b/net/p5-Net-SSH-Perl/Makefile index 40d54f9e6c0d..198c5c42aac5 100644 --- a/net/p5-Net-SSH-Perl/Makefile +++ b/net/p5-Net-SSH-Perl/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SSH-Perl PORTVERSION= 1.30 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net @@ -71,10 +72,18 @@ MAN3= Net::SSH::Perl.3 \ CONFIGURE_ENV+= PERL_MM_USE_DEFAULT="1" PERL_CONFIGURE= yes +OPTIONS= GMP "Use the optimized Math::BigInt::GMP backend" on + .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500600 IGNORE= needs Perl 5.6.0 or greater, please upgrade your Perl .endif +.if !defined(WITHOUT_GMP) +GMP_DEPEND= ${SITE_PERL_ARCH}/Math/BigInt/GMP.pm:${PORTSDIR}/math/p5-BigInt-GMP +BUILD_DEPENDS+= ${GMP_DEPEND} +RUN_DEPENDS+= ${GMP_DEPEND} +.endif + .include <bsd.port.post.mk> |