Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 10:13:39 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lth@FreeBSD.org
Subject:   ports/122163: [PATCH] devel/p5-Module-Pluggable: fix dependency
Message-ID:  <200803271713.m2RHDdxw096499@db1.leeym.com>
Resent-Message-ID: <200803271720.m2RHK2Kv001443@freefall.freebsd.org>

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

>Number:         122163
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Module-Pluggable: 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:   Thu Mar 27 17:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD db1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Mar 23 09:52:11 PDT 2008
>Description:
- File::Spec is included since perl 5.8.6
- list (BUILD|RUN)_DEPENDS separately to make new portlint-2.9.8 happy.
- bump PORTREVISION

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

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

--- p5-Module-Pluggable-3.8_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Module-Pluggable/Makefile,v
retrieving revision 1.23
diff -u -u -r1.23 Makefile
--- Makefile	25 Mar 2008 09:50:16 -0000	1.23
+++ Makefile	27 Mar 2008 17:12:14 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Module-Pluggable
 PORTVERSION=	3.8
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,13 +15,17 @@
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	Automatically give your module the ability to have plugins
 
-RUN_DEPENDS=	p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
-BUILD_DEPENDS=	${RUN_DEPENDS}
-
 PERL_CONFIGURE=	yes
 
 MAN3=		Devel::InnerPackage.3 \
 		Module::Pluggable.3 \
 		Module::Pluggable::Object.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500806
+BUILD_DEPENDS+=	p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
+RUN_DEPENDS+=	p5-PathTools>=3.0:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Module-Pluggable-3.8_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?200803271713.m2RHDdxw096499>