ports/96423: add p5-Class-DBI-Loader missing dependencies
Fernan Aguero
fernan at iib.unsam.edu.ar
Thu Apr 27 17:50:28 UTC 2006
>Number: 96423
>Category: ports
>Synopsis: add p5-Class-DBI-Loader missing dependencies
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 27 17:50:23 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fernan Aguero
>Release: FreeBSD 6.0-RELEASE-p4 i386
>Organization:
IIB-UNSAM
>Environment:
System: FreeBSD omega.iib.unsam.edu.ar 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Wed Jan 25 12:43:39 ART 2006 fernan at omega.iib.unsam.edu.ar:/usr/obj/usr/src/sys/OMEGA i386
>Description:
p5-Class-DBI-Loader installs the perl module
Class::DBI::Loader::Pg which *requires*
Class::DBI::Pg
But, Class::DBI::Pg is not listed as a dependency, so whenever
you try to use Class::DBI::Loader with a posgresql dbi call, you
fail.
The patch attached below adds Class::DBI::Pg as well as ::mysql
and ::SQLite to the dependencies (these are the ones that
Class::DBI::Loader 'require´ by default).
>How-To-Repeat:
using p5-Catalyst (the way I got to the error)
# create a catalyst app
catalyst.pl app
# create a postgres db
createdb appdb
# try to create a catalyst model
cd app
./scripts/app_create.pl model CDBI CDBI dbi:Pg:dbname=appdb
>Fix:
--- p5-Class-DBI-Loader.diff begins here ---
diff -ruN /usr/ports/databases/p5-Class-DBI-Loader/Makefile p5-Class-DBI-Loader/Makefile
--- /usr/ports/databases/p5-Class-DBI-Loader/Makefile Tue Mar 28 13:52:49 2006
+++ p5-Class-DBI-Loader/Makefile Thu Apr 27 14:38:08 2006
@@ -18,7 +18,10 @@
BUILD_DEPENDS= ${RUN_DEPENDS} \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
- ${SITE_PERL}/Lingua/EN/Inflect.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect
+ ${SITE_PERL}/Lingua/EN/Inflect.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Inflect \
+ ${SITE_PERL}/Class/DBI/Loader/Pg.pm:${PORTSDIR}/databases/p5-Class-DBI-Pg \
+ ${SITE_PERL}/Class/DBI/Loader/mysql.pm:${PORTSDIR}/databases/p5-Class-DBI-mysql \
+ ${SITE_PERL}/Class/DBI/Loader/SQLite.pm:${PORTSDIR}/databases/p5-Class-DBI-SQLite
PERL_CONFIGURE= yes
--- p5-Class-DBI-Loader.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list