diff options
author | mm <mm@FreeBSD.org> | 2010-09-22 00:08:11 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-22 00:08:11 +0800 |
commit | 66250384aac316bb7c7e78e17a9f60ee4eef0d73 (patch) | |
tree | ac1208411d08a7a297bc4f544163f0a43e756b59 /mail/mlmmj | |
parent | 48de0cba3d21dae83e5b1fed09e41e79380ef9ec (diff) | |
download | freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.gz freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.zst freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.zip |
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Diffstat (limited to 'mail/mlmmj')
-rw-r--r-- | mail/mlmmj/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/mlmmj/Makefile b/mail/mlmmj/Makefile index 20be7abf8510..fd19cee054cb 100644 --- a/mail/mlmmj/Makefile +++ b/mail/mlmmj/Makefile @@ -25,8 +25,7 @@ WANT_PHP_WEB= yes .if defined(WITH_PERL_WEBINTERFACE) RUN_DEPENDS+= ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \ - ${SITE_PERL}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate \ - ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 + ${SITE_PERL}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate .endif .if defined(WITH_PERL_WEBINTERFACE) @@ -55,6 +54,14 @@ MAKE_JOBS_SAFE= yes MAN1= mlmmj-bounce.1 mlmmj-list.1 mlmmj-maintd.1 mlmmj-make-ml.sh.1 mlmmj-process.1 mlmmj-recieve.1 mlmmj-send.1 mlmmj-sub.1 mlmmj-unsub.1 +.include <bsd.port.pre.mk> + +.if defined(WITH_PERL_WEBINTERFACE) +. if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +. endif +.endif + post-patch: @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/mlmmj-make-ml.sh @@ -86,4 +93,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/contrib/web/php-admin/conf/* ${PREFIX}/www/mlmmj/php-admin/conf .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |