[Custom LOCALBASE/PREFIX] www/p5-Gantry - fails: PLIST
Cezary Morga
cm at therek.net
Tue Jul 7 09:24:44 UTC 2009
QAT at freebsd.org pisze:
> The Restless Daemon identified a PLIST error while trying to build:
> p5-Gantry-3.54 maintained by perl at FreeBSD.org
> Makefile ident: $FreeBSD: ports/www/p5-Gantry/Makefile,v 1.11 2009/04/07 22:02:53 mat Exp $
I'm sending in attachment a patch to fix the PLIST error. Nonetheless
there seems to be some dependency issues left:
> Creating custom builder _build/lib/My/Builder.pm in _build/lib/My
> [web dir] css
> [web dir] images
> [web dir] images/tenttut
> [web dir] js
> [web dir] moxie
> [web dir] root
> - ERROR: Sub::Install is not installed
> - ERROR: Mail::RFC822::Address is not installed
> - ERROR: Config::General is not installed
> - ERROR: HTML::SuperForm is not installed
> - ERROR: JSON is not installed
> - ERROR: Template::Plugin::HTML::SuperForm is not installed
>
> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
> of the modules indicated above before proceeding with this installation
Could someone more knowledgable in Gantry take a look at this. Are these
BUILD_DEPENDS only or RUN_DEPENDS as well.
--
Cezary Morga
-------------- next part --------------
diff -ruN www/p5-Gantry.orig/Makefile www/p5-Gantry/Makefile
--- www/p5-Gantry.orig/Makefile 2009-04-08 00:02:53.000000000 +0200
+++ www/p5-Gantry/Makefile 2009-07-07 11:12:50.000000000 +0200
@@ -31,6 +31,7 @@
PERL_MODBUILD= 5.8.0+
WWWDIR= ${PREFIX}/www/${PORTNAME:L}
+CONFIGURE_ENV+= GANTRY_TEMPLATE_PATH=${WWWDIR}
MAN3= Gantry.3 \
Gantry::Build.3 \
diff -ruN www/p5-Gantry.orig/files/patch-Build.PL www/p5-Gantry/files/patch-Build.PL
--- www/p5-Gantry.orig/files/patch-Build.PL 2007-09-12 07:53:46.000000000 +0200
+++ www/p5-Gantry/files/patch-Build.PL 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
---- Build.PL.orig 2007-06-20 03:11:06.000000000 +0800
-+++ Build.PL 2007-09-12 09:34:41.000000000 +0800
-@@ -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/gantry',
-+ 'prod' => '/usr/local/www/gantry',
-+ 'dev' => '/usr/local/www/gantry',
-+ 'tim' => '/usr/local/www/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 ) {
More information about the freebsd-perl
mailing list