Bug 96423

Summary: add p5-Class-DBI-Loader missing dependencies
Product: Ports & Packages Reporter: Fernan Aguero <fernan>
Component: Individual Port(s)Assignee: Lars Balker Rasmussen <lbr>
Status: Closed FIXED    
Severity: Affects Only Me CC: lars
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
p5-Class-DBI-Loader.diff none

Description Fernan Aguero 2006-04-27 18:50:23 UTC
	p5-Class-DBI-Loader installs the perl module 
	Class::DBI::Loader::Pg which *requires*

	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

	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).

	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
Comment 1 Erwin Lansing freebsd_committer 2006-04-27 20:21:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lbr

Over to maintainer.
Comment 2 Lars Balker Rasmussen freebsd_committer 2006-04-30 14:00:54 UTC
State Changed
From-To: open->closed

Thanks, committed.