ports/167143: [PATCH] www/p5-WWW-GitHub-Gist: fix *_DEPENDS

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Apr 21 06:00:26 UTC 2012


>Number:         167143
>Category:       ports
>Synopsis:       [PATCH] www/p5-WWW-GitHub-Gist: 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:   Sat Apr 21 06:00:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar 19 09:07:46 CST 2012
>Description:
- Fix *_DEPENDS: p5-HTTP-Tiny is in core since Perl 5.13.9 (check PERL_LEVEL against 501400)
- Bump PORTREVISION for dependency change

Port maintainer (dennylin93 at hs.ntnu.edu.tw) is cc'd.

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

--- p5-WWW-GitHub-Gist-0.13_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-WWW-GitHub-Gist/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	10 Apr 2012 14:16:43 -0000	1.5
+++ Makefile	21 Apr 2012 05:56:31 -0000
@@ -7,17 +7,15 @@
 
 PORTNAME=	WWW-GitHub-Gist
 PORTVERSION=	0.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
-MASTER_SITE_SUBDIR=	CPAN:ALEXBIO
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	dennylin93 at hs.ntnu.edu.tw
 COMMENT=	Perl interface to Gist
 
 BUILD_DEPENDS=	p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \
-		p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny \
 		p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
 		p5-URI>=0:${PORTSDIR}/net/p5-URI
 RUN_DEPENDS:=	${BUILD_DEPENDS}
@@ -28,4 +26,11 @@
 		WWW::GitHub::Gist::v2.3 \
 		WWW::GitHub::Gist::v3.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+=	p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny
+RUN_DEPENDS+=	p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny
+.endif
+
+.include <bsd.port.post.mk>
--- p5-WWW-GitHub-Gist-0.13_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list