aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Atom
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-10 10:37:08 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-08-10 10:37:08 +0800
commitd285c0f5b4297e2f90d275f95097423802989054 (patch)
tree028c297cfaae267941702d2346538ddca5411279 /textproc/p5-XML-Atom
parent19c3790d77b59a21342d534027e697681443acb4 (diff)
downloadfreebsd-ports-gnome-d285c0f5b4297e2f90d275f95097423802989054.tar.gz
freebsd-ports-gnome-d285c0f5b4297e2f90d275f95097423802989054.tar.zst
freebsd-ports-gnome-d285c0f5b4297e2f90d275f95097423802989054.zip
- Make depedency on p5-MIME-Base64 conditional with perl-5.8.5.
Approved by: maintainer
Diffstat (limited to 'textproc/p5-XML-Atom')
-rw-r--r--textproc/p5-XML-Atom/Makefile9
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>