From 33d8525621de033379ac9f22e92d935ac6b49f7c Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 14 Aug 2006 10:57:31 +0000 Subject: Some modules are in Perl base. PR: 101840 Submitted by: Gea-Suan Lin --- ftp/p5-Net-FTPServer/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'ftp') diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile index a82816deab28..42c9ea07c568 100644 --- a/ftp/p5-Net-FTPServer/Makefile +++ b/ftp/p5-Net-FTPServer/Makefile @@ -21,10 +21,8 @@ RUN_DEPENDS= ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ ${SITE_PERL}/${PERL_ARCH}/BSD/Resource.pm:${PORTSDIR}/devel/p5-BSD-Resource \ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/${PERL_ARCH}/File/Sync.pm:${PORTSDIR}/devel/p5-File-Sync \ - ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \ - ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net + ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy BUILD_DEPENDS= ${RUN_DEPENDS} MAKE_ENV+= NOCONF=1 @@ -58,7 +56,12 @@ DOCS= FAQ README TODO doc/* .include .if ${PERL_LEVEL} < 500601 -IGNORE= requires perl 5.6.1 or later. Install lang/perl5 then try again +IGNORE= requires perl 5.6.1 or later. Install lang/perl5.8 then try again +.endif + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ + ${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net .endif post-patch: -- cgit