aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2009-09-29 09:27:21 +0800
committerkuriyama <kuriyama@FreeBSD.org>2009-09-29 09:27:21 +0800
commit0a0af96ed95ee11965ac19f325a5ebde88e593d0 (patch)
treea021c2eea75bff09de826a6c1dfe04f86bca90d7 /databases
parent6fde4458a8fcbf0a8b06bbff5fe12a2244867042 (diff)
downloadfreebsd-ports-gnome-0a0af96ed95ee11965ac19f325a5ebde88e593d0.tar.gz
freebsd-ports-gnome-0a0af96ed95ee11965ac19f325a5ebde88e593d0.tar.zst
freebsd-ports-gnome-0a0af96ed95ee11965ac19f325a5ebde88e593d0.zip
- Remove unneeded dependencies.
- Add a patch to avoid confusing of load() method (obtained from the latest version). No response from: lth (24 days) Feature safe: yes
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-SQL-Translator/Makefile5
-rw-r--r--databases/p5-SQL-Translator/files/patch-lib::SQL::Translator::Parser::DBI.pm11
2 files changed, 12 insertions, 4 deletions
diff --git a/databases/p5-SQL-Translator/Makefile b/databases/p5-SQL-Translator/Makefile
index 9931b743c7d1..c593dd87e187 100644
--- a/databases/p5-SQL-Translator/Makefile
+++ b/databases/p5-SQL-Translator/Makefile
@@ -7,7 +7,7 @@
PORTNAME= SQL-Translator
PORTVERSION= 0.09.004
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -22,7 +22,6 @@ BUILD_DEPENDS= p5-Class-Base>=0:${PORTSDIR}/devel/p5-Class-Base \
p5-Digest-SHA1>=2.0:${PORTSDIR}/security/p5-Digest-SHA1 \
p5-IO>=0:${PORTSDIR}/devel/p5-IO \
p5-Parse-RecDescent>=1.94:${PORTSDIR}/devel/p5-Parse-RecDescent \
- p5-Pod-Parser>=0:${PORTSDIR}/textproc/p5-Pod-Parser \
p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-Template-Toolkit>=2.10:${PORTSDIR}/www/p5-Template-Toolkit \
@@ -31,11 +30,9 @@ BUILD_DEPENDS= p5-Class-Base>=0:${PORTSDIR}/devel/p5-Class-Base \
p5-Graph>=0:${PORTSDIR}/math/p5-Graph \
p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
p5-Spreadsheet-ParseExcel>=0.2602:${PORTSDIR}/textproc/p5-Spreadsheet-ParseExcel \
- p5-Text-ParseWords>=0:${PORTSDIR}/textproc/p5-Text-ParseWords \
p5-Text-RecordParser>=0.02:${PORTSDIR}/textproc/p5-Text-RecordParser \
p5-XML-Writer>=0.500:${PORTSDIR}/textproc/p5-XML-Writer \
p5-XML-XPath>=1.13:${PORTSDIR}/textproc/p5-XML-XPath \
- p5-PathTools>=0:${PORTSDIR}/devel/p5-PathTools \
p5-YAML>=0.39:${PORTSDIR}/textproc/p5-YAML
RUN_DEPENDS= ${BUILD_DEPENDS}
diff --git a/databases/p5-SQL-Translator/files/patch-lib::SQL::Translator::Parser::DBI.pm b/databases/p5-SQL-Translator/files/patch-lib::SQL::Translator::Parser::DBI.pm
new file mode 100644
index 000000000000..3c5bde293133
--- /dev/null
+++ b/databases/p5-SQL-Translator/files/patch-lib::SQL::Translator::Parser::DBI.pm
@@ -0,0 +1,11 @@
+--- lib/SQL/Translator/Parser/DBI.pm.orig 2009-03-17 11:34:29.000000000 +0900
++++ lib/SQL/Translator/Parser/DBI.pm 2009-03-17 11:34:45.000000000 +0900
+@@ -170,7 +170,7 @@
+ my $pkg = "SQL::Translator::Parser::DBI::$driver";
+ my $sub = $pkg.'::parse';
+
+- $tr->load( $pkg );
++ SQL::Translator::load( $pkg );
+
+ eval {
+ no strict 'refs';