Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Nov 2009 22:45:08 GMT
From:      Geraud CONTINSOUZAS <geraud@gcu.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140178: www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
Message-ID:  <200911012245.nA1Mj8Yg023121@www.freebsd.org>
Resent-Message-ID: <200911012250.nA1Mo1Sa054785@freefall.freebsd.org>

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

>Number:         140178
>Category:       ports
>Synopsis:       www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 01 22:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911012245.nA1Mj8Yg023121>