Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 08:08:49 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48349: update mail/p5-Mail-SpamAssassin[-snapshot]
Message-ID:  <20030217000849.994703E9CA4@utopia.leeym.com>

next in thread | raw e-mail | index | archive | help

>Number:         48349
>Category:       ports
>Synopsis:       update mail/p5-Mail-SpamAssassin[-snapshot]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 16 16:10:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.0-RELEASE-p1 FreeBSD 5.0-RELEASE-p1 #16: Thu Feb 6 06:27:39 CST 2003 root@utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386


	
>Description:
/usr/local/lib/perl5/${PERL_VER}/Pod/Usage.pm is included in perl 5.6.1 or 5.8
p5-Mail-SpamAssassin depends on p5-PodParser only when PERL_LEVEL < 500600

the same situation for p5-Mail-SpamAssassin-snapshot

>How-To-Repeat:
	
>Fix:

	

--- p5-Mail-SpamAssassin.diff begins here ---
Index: p5-Mail-SpamAssassin/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- p5-Mail-SpamAssassin/Makefile	1 Feb 2003 08:40:41 -0000	1.36
+++ p5-Mail-SpamAssassin/Makefile	17 Feb 2003 00:05:39 -0000
@@ -22,9 +22,13 @@
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
 		razor-client:${PORTSDIR}/mail/razor-agents
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
 PODPARSER=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
 RUN_DEPENDS+=	${PODPARSER}
 BUILD_DEPENDS+=	${PODPARSER}
+.endif
 
 PERL_CONFIGURE=	yes
 CONFIGURE_ARGS+=	SYSCONFDIR="${PREFIX}/etc"
@@ -54,4 +58,4 @@
 	    ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: p5-Mail-SpamAssassin-snapshot/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/p5-Mail-SpamAssassin-snapshot/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- p5-Mail-SpamAssassin-snapshot/Makefile	30 Jan 2003 11:07:43 -0000	1.3
+++ p5-Mail-SpamAssassin-snapshot/Makefile	17 Feb 2003 00:05:39 -0000
@@ -23,11 +23,15 @@
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
 		razor-client:${PORTSDIR}/mail/razor-agents
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
 PODPARSER=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
 RUN_DEPENDS+=	${PODPARSER}
 BUILD_DEPENDS+=	${PODPARSER}
-NO_LATEST_LINK=	yes
+.endif
 
+NO_LATEST_LINK=	yes
 PERL_CONFIGURE=	yes
 CONFIGURE_ARGS+=	SYSCONFDIR="${PREFIX}/etc" RUN_RAZOR1_TESTS="no" \
 			RUN_RAZOR2_TESTS="no"
@@ -64,4 +68,4 @@
 		spamd/README* sql/spamassassin.sql ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- p5-Mail-SpamAssassin.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030217000849.994703E9CA4>