From 03f68a7c8e04fec117cc972b5fd135852ae4a92d Mon Sep 17 00:00:00 2001 From: alane Date: Sat, 10 Aug 2002 19:40:01 +0000 Subject: The port of PodParser doesn't work with 5.8. The internal 5.8 code is newer. So, don't use it or install it (it will break installing all subsequent ports) if we're using perl 5.8. This is not the best test, but it'll do until I (or someone) figures out a way to do a < comparison instead of a != comparison. --- mail/p5-Mail-SpamAssassin/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/p5-Mail-SpamAssassin') diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile index eafcdd186ea6..3daaf2a5e8cc 100644 --- a/mail/p5-Mail-SpamAssassin/Makefile +++ b/mail/p5-Mail-SpamAssassin/Makefile @@ -19,9 +19,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDI ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools RUN_DEPENDS= ${BUILD_DEPENDS} \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Razor/Client.pm:${PORTSDIR}/mail/razor-agents +.if ${PERL_VERSION} != "5.8.0" +RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser +.endif + PERL_CONFIGURE= yes MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Mail::SpamAssassin.3 Mail::SpamAssassin::PerMsgStatus.3 \ -- cgit