Bug 140178 - www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
Summary: www/p5-Template-Toolkit: Fix build with WITH_DATE_CALC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 22:50 UTC by geraud
Modified: 2009-11-05 12:00 UTC (History)
0 users

See Also:


Attachments
file.diff (501 bytes, patch)
2009-11-01 22:50 UTC, geraud
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description geraud 2009-11-01 22:50:01 UTC
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.

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:
How-To-Repeat: Build devel/p5-Date-Calc. Then build www/p5-Template-Toolkit with WITH_DATE_CALC option.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-11-01 22:50:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 skv freebsd_committer freebsd_triage 2009-11-05 11:50:30 UTC
State Changed
From-To: open->closed

Committed, thanks. 

I only change ${SITE_PERL}/Date/Calc.pm with p5-Date-Calc>=0
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-11-05 11:50:31 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"