Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2007 00:44:27 GMT
From:      Warren Block <wblock@wonkity.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/115772: [patch] p5-Gantry - Fix templates
Message-ID:  <200708240044.l7O0iR3Y089422@www.freebsd.org>
Resent-Message-ID: <200708240050.l7O0o7xB034941@freefall.freebsd.org>

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

>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@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:



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