Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2008 10:44:09 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        skv@FreeBSD.org
Subject:   ports/121742: [PATCH] textproc/p5-Pod-Parser: simplify dependency
Message-ID:  <200803151744.m2FHi9nV051864@db1.leeym.com>
Resent-Message-ID: <200803151750.m2FHo2L0057610@freefall.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help

>Number:         121742
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-Pod-Parser: simplify dependency
>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:   Sat Mar 15 17:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD db1.leeym.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
>Description:
- use CPAN macro
- simplify dependency
- bump PORTREVISION

Port maintainer (skv@FreeBSD.org) is cc'd.

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

--- p5-Pod-Parser-1.35_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-Pod-Parser/Makefile,v
retrieving revision 1.20
diff -u -u -r1.20 Makefile
--- Makefile	8 Sep 2007 16:52:42 -0000	1.20
+++ Makefile	15 Mar 2008 17:40:56 -0000
@@ -7,17 +7,14 @@
 
 PORTNAME=	Pod-Parser
 PORTVERSION=	1.35
+PORTREVISION=	1
 CATEGORIES=	textproc perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	Pod
+MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	skv@FreeBSD.org
 COMMENT=	Modules to work with POD (Plain Old Documentation)
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
 PERL_CONFIGURE=	yes
 
 MAN3=		Pod::Checker.3 Pod::Find.3 Pod::InputObjects.3 \
@@ -28,4 +25,10 @@
 	@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
 	@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500808
+BUILD_DEPENDS+=	p5-Test-Simple>=0.60:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Pod-Parser-1.35_1.patch ends here ---

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200803151744.m2FHi9nV051864>