ports/140178: www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
Geraud CONTINSOUZAS
geraud at gcu.info
Sun Nov 1 22:50:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list