ports/79554: [PATCH] textproc/p5-XML-RSS: Remove p5-Test-* dependencies

Lars Thegler lth at FreeBSD.org
Tue Apr 5 10:50:04 UTC 2005


>Number:         79554
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-XML-RSS: Remove p5-Test-* dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 05 10:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.11-STABLE FreeBSD 4.11-STABLE #6: Thu Dec 30 14:06:09 CET 2004
>Description:
Remove dependencies on p5-Test-*, since 
- it breaks on a clean 4.x since p5-Test-Manifest is IGNORE under Perl 5.005_03, and
- testing is not really supported in the FreeBSD ports tree anyway

Port maintainer (clsung at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-XML-RSS-1.05.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-XML-RSS/Makefile,v
retrieving revision 1.15
diff -u -u -r1.15 Makefile
--- Makefile	20 Aug 2004 02:56:41 -0000	1.15
+++ Makefile	5 Apr 2005 10:38:22 -0000
@@ -15,18 +15,14 @@
 MAINTAINER=	clsung at FreeBSD.org
 COMMENT=	Perl extension to manage RDF Site Summary (RSS) files
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/XML/Parser/Expat.pm:${PORTSDIR}/textproc/p5-XML-Parser \
-		${SITE_PERL}/Test/Manifest.pm:${PORTSDIR}/devel/p5-Test-Manifest
+BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/XML/Parser/Expat.pm:${PORTSDIR}/textproc/p5-XML-Parser
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
 MAN3=		XML::RSS.3
 
-.include <bsd.port.pre.mk>
+post-patch:
+	@${PERL} -pi -e '$$_ = "" if m/Test::/;' ${WRKSRC}/Makefile.PL
 
-.if ${PERL_LEVEL} < 500800
-BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- p5-XML-RSS-1.05.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list