Bug 96423 - add p5-Class-DBI-Loader missing dependencies
Summary: add p5-Class-DBI-Loader missing dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Lars Balker Rasmussen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 18:50 UTC by Fernan Aguero
Modified: 2006-04-30 14:01 UTC (History)
1 user (show)

See Also:


Attachments
p5-Class-DBI-Loader.diff (848 bytes, patch)
2006-04-27 18:50 UTC, Fernan Aguero
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fernan Aguero 2006-04-27 18:50:23 UTC
	
	
	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
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.