Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2011 20:48:31 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sahil@FreeBSD.org
Subject:   ports/162968: [PATCH] net/p5-Net-OAuth: p5-Encode is only required by Perl releases prior to 5.10.0
Message-ID:  <20111130124831.649404265@sunpoet.net>
Resent-Message-ID: <201111301250.pAUCoACf056317@freefall.freebsd.org>

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

>Number:         162968
>Category:       ports
>Synopsis:       [PATCH] net/p5-Net-OAuth: p5-Encode is only required by Perl releases prior to 5.10.0
>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:   Wed Nov 30 12:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.0-RC1 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-RC1 FreeBSD 9.0-RC1 #0: Sun Nov  6 07:24:13 CST
>Description:
- Update and sort *_DEPENDS: p5-Encode is only required by Perl releases prior to 5.10.0
- Bump PORTREVISION for dependency change

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

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

--- p5-Net-OAuth-0.27_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/p5-Net-OAuth/Makefile,v
retrieving revision 1.18
diff -u -u -r1.18 Makefile
--- Makefile	20 Jun 2010 21:09:33 -0000	1.18
+++ Makefile	30 Nov 2011 12:46:41 -0000
@@ -8,6 +8,7 @@
 
 PORTNAME=	Net-OAuth
 PORTVERSION=	0.27
+PORTREVISION=	1
 CATEGORIES=	net perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -15,12 +16,11 @@
 MAINTAINER=	sahil@FreeBSD.org
 COMMENT=	An implementation of the OAuth protocol
 
-BUILD_DEPENDS=	p5-Encode>=2.35:${PORTSDIR}/converters/p5-Encode \
+BUILD_DEPENDS=	p5-Class-Accessor>=0.31:${PORTSDIR}/devel/p5-Class-Accessor \
+		p5-Class-Data-Inheritable>=0.06:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
 		p5-Digest-HMAC>=1.01:${PORTSDIR}/security/p5-Digest-HMAC \
-		p5-URI>=1.35:${PORTSDIR}/net/p5-URI \
-		p5-Class-Accessor>=0.31:${PORTSDIR}/devel/p5-Class-Accessor \
-		p5-Class-Data-Inheritable>=0.06:${PORTSDIR}/devel/p5-Class-Data-Inheritable
-RUN_DEPENDS=	${BUILD_DEPENDS}
+		p5-URI>=1.35:${PORTSDIR}/net/p5-URI
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PERL_MODBUILD=	yes
 
@@ -46,4 +46,11 @@
 	Net::OAuth::XauthAccessTokenRequest.3 \
 	Net::OAuth::YahooAccessTokenRefreshRequest.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+=	p5-Encode>=2.35:${PORTSDIR}/converters/p5-Encode
+RUN_DEPENDS+=	p5-Encode>=2.35:${PORTSDIR}/converters/p5-Encode
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Net-OAuth-0.27_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?20111130124831.649404265>