ports/121188: [PATCH] devel/p5-Locale-Maketext: fix dependency

Yen-Ming Lee leeym at FreeBSD.org
Thu Feb 28 22:10:03 UTC 2008


>Number:         121188
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Locale-Maketext: 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 Feb 28 22:10:02 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:
- fix dependency
- bump PORTREVISION

Port maintainer (mat at FreeBSD.org) is cc'd.

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

--- p5-Locale-Maketext-1.12_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Locale-Maketext/Makefile,v
retrieving revision 1.16
diff -u -u -r1.16 Makefile
--- Makefile	18 Feb 2008 18:05:22 -0000	1.16
+++ Makefile	28 Feb 2008 22:09:23 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Locale-Maketext
 PORTVERSION=	1.12
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,12 +15,14 @@
 MAINTAINER=	mat at FreeBSD.org
 COMMENT=	A framework for software localization and inheritance-based lexicons
 
-BUILD_DEPENDS=	${SITE_PERL}/I18N/LangTags.pm:${PORTSDIR}/misc/p5-I18N-LangTags \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
 PERL_CONFIGURE=	YES
 
 MAN3=		Locale::Maketext.3 Locale::Maketext::TPJ13.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500805
+RUN_DEPENDS+=	p5-I18N-LangTags>=0.30:${PORTSDIR}/misc/p5-I18N-LangTags
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Locale-Maketext-1.12_1.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list