diff options
-rw-r--r-- | textproc/p5-XML-Atom/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/p5-XML-Atom/Makefile b/textproc/p5-XML-Atom/Makefile index 43f4a0c70254..aaa4d0c8c0e3 100644 --- a/textproc/p5-XML-Atom/Makefile +++ b/textproc/p5-XML-Atom/Makefile @@ -18,7 +18,6 @@ COMMENT= Perl5 modules for Atom feed and API implementation BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ ${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT \ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \ - ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ @@ -36,4 +35,10 @@ MAN3= XML::Atom.3 \ XML::Atom::Server.3 \ XML::Atom::Util.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500805 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.include <bsd.port.post.mk> |