Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 19:12:22 -0800 (PST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lbr@FreeBSD.org
Subject:   ports/121201: [PATCH] devel/p5-Sub-Install: fix dependency
Message-ID:  <200802290312.m1T3CMKu077713@db1.leeym.com>
Resent-Message-ID: <200802290320.m1T3K0ka069568@freefall.freebsd.org>

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

>Number:         121201
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Sub-Install: fix 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:   Fri Feb 29 03:20:00 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
- fix dependency
- allow build on older perl
- bump PORTREVISION

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

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

--- p5-Sub-Install-0.924_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Sub-Install/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	8 Sep 2007 00:59:07 -0000	1.6
+++ Makefile	29 Feb 2008 03:10:31 -0000
@@ -7,20 +7,22 @@
 
 PORTNAME=	Sub-Install
 PORTVERSION=	0.924
+PORTREVISION=	1
 CATEGORIES=	devel perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	Sub
+MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	lbr@FreeBSD.org
 COMMENT=	Install subroutines into packages easily
 
-BUILD_DEPENDS=	${RUN_DEPENDS} \
-		p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS=	p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
-
-PERL_CONFIGURE=	5.8.0+
+PERL_CONFIGURE=	yes
 
 MAN3=	Sub::Install.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Sub-Install-0.924_1.patch ends here ---

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



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