aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2003-02-21 09:32:27 +0000
committerDoug Barton <dougb@FreeBSD.org>2003-02-21 09:32:27 +0000
commitd0ebdbd019508fd753fd0cef1c32616ebe9bb170 (patch)
treedb1cb10599d193b273e8e8c62505db195eb1063e /mail
parent88415bd1992fa2430ea48fe487faa9611dba9b28 (diff)
downloadports-d0ebdbd019508fd753fd0cef1c32616ebe9bb170.tar.gz
ports-d0ebdbd019508fd753fd0cef1c32616ebe9bb170.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Mail-SpamAssassin/Makefile6
1 files changed, 5 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>