diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2003-08-05 11:58:12 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2003-08-05 11:58:12 +0000 |
commit | efa2a94a3ccc313b08789414f1dddc5d159dde97 (patch) | |
tree | 9425fc7537a1c7922130db12b21c8203be02dc2c /mail | |
parent | 4b7f0e2e8fa4db298dd8d9eb3889a600a57e602d (diff) |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/p5-Mail-Box1/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/p5-Mail-Box1/Makefile b/mail/p5-Mail-Box1/Makefile index f9d0626d7f32..89b1a5ca620c 100644 --- a/mail/p5-Mail-Box1/Makefile +++ b/mail/p5-Mail-Box1/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Perl module implementing a modern mail-folder managerat -BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ - ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \ +BUILD_DEPENDS= ${SITE_PERL}/MIME/Entity.pm:${PORTSDIR}/mail/p5-MIME-Tools \ ${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools \ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate RUN_DEPENDS= ${BUILD_DEPENDS} @@ -44,4 +43,11 @@ post-patch: ${PERL} -pi -e 's/^our\s+([\$$\@]\w+)/use vars qw($$1);$$1/' \ ${WRKSRC}/Message.pm -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} <= 500600 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + +.include <bsd.port.post.mk> |