From nobody@FreeBSD.org  Sun Nov  1 22:45:09 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BA1661065672
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  1 Nov 2009 22:45:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A91CC8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  1 Nov 2009 22:45:09 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1Mj8JL023122
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 1 Nov 2009 22:45:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nA1Mj8Yg023121;
	Sun, 1 Nov 2009 22:45:08 GMT
	(envelope-from nobody)
Message-Id: <200911012245.nA1Mj8Yg023121@www.freebsd.org>
Date: Sun, 1 Nov 2009 22:45:08 GMT
From: Geraud CONTINSOUZAS <geraud@gcu.info>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         140178
>Category:       ports
>Synopsis:       www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 01 22:50:01 UTC 2009
>Closed-Date:    Thu Nov 05 11:51:02 UTC 2009
>Last-Modified:  Thu Nov  5 12:00:13 UTC 2009
>Originator:     Geraud CONTINSOUZAS
>Release:        7.2-STABLE
>Organization:
>Environment:
FreeBSD kate.local 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Aug 18 10:31:03 NCT 2009     root@kate.local:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
With the latest update of devel/p5-Date-Calc, files were moved from %%SITE_PERL%%/%%PERL_ARCH%% to %%SITE_PERL%%. Adjust dependency checks on Template::Toolkit accordingly.
>How-To-Repeat:
Build devel/p5-Date-Calc. Then build www/p5-Template-Toolkit with WITH_DATE_CALC option.
>Fix:
The send-pr page won't let me attach a file, so here it is : 

--- Makefile.orig      2009-09-11 08:22:06.000000000 +1100
+++ Makefile    2009-11-02 09:26:26.000000000 +1100
@@ -37,7 +37,7 @@
 BUILD_DEPENDS+=${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size
 .endif
 .if defined(WITH_DATE_CALC)
-BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
+BUILD_DEPENDS+=${SITE_PERL}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
 .endif
 .if defined(WITH_POD_POM)
 BUILD_DEPENDS+=${SITE_PERL}/Pod/POM.pm:${PORTSDIR}/textproc/p5-Pod-POM



Patch attached with submission follows:

--- Makefile.orig	2009-09-11 08:22:06.000000000 +1100
+++ Makefile	2009-11-02 09:26:26.000000000 +1100
@@ -37,7 +37,7 @@
 BUILD_DEPENDS+=${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size
 .endif
 .if defined(WITH_DATE_CALC)
-BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
+BUILD_DEPENDS+=${SITE_PERL}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
 .endif
 .if defined(WITH_POD_POM)
 BUILD_DEPENDS+=${SITE_PERL}/Pod/POM.pm:${PORTSDIR}/textproc/p5-Pod-POM


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Nov 1 22:50:11 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140178 
State-Changed-From-To: open->closed 
State-Changed-By: skv 
State-Changed-When: Thu Nov 5 11:50:30 UTC 2009 
State-Changed-Why:  
Committed, thanks. 

I only change ${SITE_PERL}/Date/Calc.pm with p5-Date-Calc>=0 


http://www.freebsd.org/cgi/query-pr.cgi?pr=140178 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/140178: commit references a PR
Date: Thu,  5 Nov 2009 11:50:31 +0000 (UTC)

 skv         2009-11-05 11:50:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/p5-Template-Toolkit Makefile 
   Log:
   Fix build with WITH_DATE_CALC
   
   PR:             ports/140178
   Submitted by:   Geraud CONTINSOUZAS <geraud xx gcu.info>
   
   Revision  Changes    Path
   1.34      +1 -1      ports/www/p5-Template-Toolkit/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
