From d0ebdbd019508fd753fd0cef1c32616ebe9bb170 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Fri, 21 Feb 2003 09:32:27 +0000 Subject: [PATCH] The PodParser update is only needed if we're not working with Perl 5.6.1 or later. PR: ports/48349 Submitted by: Yen-Ming Lee --- mail/p5-Mail-SpamAssassin/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile index bdd6e911353d..1ed2b2e4579c 100644 --- a/mail/p5-Mail-SpamAssassin/Makefile +++ b/mail/p5-Mail-SpamAssassin/Makefile @@ -23,9 +23,13 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ razor-client:${PORTSDIR}/mail/razor-agents +.include + +.if ${PERL_LEVEL} < 500600 PODPARSER= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser RUN_DEPENDS+= ${PODPARSER} BUILD_DEPENDS+= ${PODPARSER} +.endif PERL_CONFIGURE= yes CONFIGURE_ARGS+= SYSCONFDIR="${PREFIX}/etc" \ @@ -56,4 +60,4 @@ post-install: @${SED} -e 's#PREFIX#/usr/local#' pkg-message -.include +.include