From 102dcb91d6ff3db1eeb3cc1e7302e45de95b4529 Mon Sep 17 00:00:00 2001 From: tobez Date: Wed, 11 Feb 2004 09:39:56 +0000 Subject: Update to 0.8.10. Submitted by: mat --- mail/p5-Mail-Sender/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'mail/p5-Mail-Sender/Makefile') diff --git a/mail/p5-Mail-Sender/Makefile b/mail/p5-Mail-Sender/Makefile index 82f9051c3ca2..db4c4fe7cfb3 100644 --- a/mail/p5-Mail-Sender/Makefile +++ b/mail/p5-Mail-Sender/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Mail-Sender -PORTVERSION= 0.8.06 +PORTVERSION= 0.8.10 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Mail @@ -19,12 +19,6 @@ PERL_CONFIGURE= yes MAN3= Mail::Sender.3 -post-patch: - ${PERL} -pi -e '$$_="" if /\bwarnings\b/' ${WRKSRC}/Sender.pm -.if defined(BATCH) - ${PERL} -pi -e 's/res = ;/res = "N";/' ${WRKSRC}/Config.PL -.endif - .include .if ${PERL_LEVEL} < 500800 @@ -32,4 +26,12 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p RUN_DEPENDS= ${BUILD_DEPENDS} .endif +post-patch: +.if ${PERL_LEVEL} < 500600 + @${PERL} -pi -e '$$_="" if /\bwarnings\b/' ${WRKSRC}/Sender.pm +.endif +.if defined(BATCH) + @${PERL} -pi -e 's/res = ;/res = "N";/' ${WRKSRC}/Config.PL +.endif + .include -- cgit