ports/115772: [patch] p5-Gantry - Fix templates
Warren Block
wblock at wonkity.com
Fri Aug 24 00:50:08 UTC 2007
>Number: 115772
>Category: ports
>Synopsis: [patch] p5-Gantry - Fix templates
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 24 00:50:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Warren Block
>Release: 6.2-STABLE
>Organization:
>Environment:
FreeBSD speedy.wonkity.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jul 13 11:53:42 MDT 2007 root at speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY i386
>Description:
files/patch-Build.PL erroneously omits much of the original Build.PL. In particular, the part that copies template files to /usr/local/www/data/gantry and allow Gantry to work.
>How-To-Repeat:
Install /usr/ports/www/p5-Gantry. Follow the tutorials at http://www.usegantry.org and note how they fail with a missing template file error.
>Fix:
Replace /usr/ports/www/p5-Gantry/files/patch-Build.PL with this file.
Patch attached with submission follows:
--- Build.PL.orig Tue Jun 19 13:11:06 2007
+++ Build.PL Thu Aug 23 18:31:25 2007
@@ -36,10 +36,10 @@
web_files => \@web_dirs,
build_web_directory => 'root',
install_web_directories => {
- 'default' => '/home/httpd/html/gantry',
- 'prod' => '/home/httpd/html/gantry',
- 'dev' => '/home/httpd/html/gantry',
- 'tim' => '/home/tkeefer/httpd/html/gantry'
+ 'default' => '/usr/local/www/data/gantry',
+ 'prod' => '/usr/local/www/data/gantry',
+ 'dev' => '/usr/local/www/data/gantry',
+ 'tim' => '/usr/local/www/data/gantry'
},
create_makefile_pl => 'passthrough',
license => 'perl',
@@ -105,7 +105,7 @@
if ( not -d $template_path ) {
my $make_path = $build->y_n(
"$template_path does not exist, should I make it?",
- 'y'
+ 'n '
);
if ( $make_path ) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list