Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2013 22:45:59 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tobez@FreeBSD.org
Subject:   ports/182047: [PATCH] devel/p5-Path-Tiny: fix *_DEPENDS
Message-ID:  <20130912144559.C31B33975@sunpoet.net>
Resent-Message-ID: <201309121720.r8CHK11a023922@freefall.freebsd.org>

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

>Number:         182047
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Path-Tiny: fix *_DEPENDS
>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 Sep 12 17:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.2-PRERELEASE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254986: Thu Aug 29 12:39:52 CST
>Description:
- Fix *_DEPENDS: PathTools 3.40+ is already in Perl 5.18.0+
- Bump PORTREVISION for dependency change

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

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- p5-Path-Tiny-0.032_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 327074)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Path-Tiny
 PORTVERSION=	0.032
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:DAGOLDEN
@@ -13,8 +14,7 @@
 
 LICENSE=	AL2
 
-BUILD_DEPENDS=	p5-PathTools>=3.4000:${PORTSDIR}/devel/p5-PathTools \
-		p5-autodie>=2.14:${PORTSDIR}/devel/p5-autodie
+BUILD_DEPENDS=	p5-autodie>=2.14:${PORTSDIR}/devel/p5-autodie
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
 		p5-Test-FailWarnings>=0:${PORTSDIR}/devel/p5-Test-FailWarnings \
@@ -27,4 +27,11 @@
 
 MAN3=	Path::Tiny.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501800
+BUILD_DEPENDS+=	p5-PathTools>=3.4000:${PORTSDIR}/devel/p5-PathTools
+RUN_DEPENDS+=	p5-PathTools>=3.4000:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Path-Tiny-0.032_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?20130912144559.C31B33975>