From 2245890d1f14267ba518f9ba738d47c42265fcad Mon Sep 17 00:00:00 2001 From: pi Date: Fri, 1 May 2015 17:21:21 +0000 Subject: devel/lfcbase: 1.5.11 -> 1.6.1 databases/cego: 2.21.1 -> 2.22.0 databases/p5-DBD-cego: 1.2.9 -> 1.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lfcbase: - Added syslog support - syslog is enabled per default cego: - fix in CegoFieldValue::comp for correct null value ordering - adapt to lfcbase 1.6 with syslog support p5-DBD-cego: - adapt to lfcbase 1.6 with syslog support Submitted by: Björn Lemke --- databases/p5-DBD-cego/Makefile | 3 +- databases/p5-DBD-cego/distinfo | 4 +- databases/p5-DBD-cego/files/patch-CegoXS.h | 4 +- databases/p5-DBD-cego/files/patch-Makefile.PL | 62 +++++++++++++++++++++++++++ databases/p5-DBD-cego/files/patch-makefile-pl | 61 -------------------------- 5 files changed, 67 insertions(+), 67 deletions(-) create mode 100644 databases/p5-DBD-cego/files/patch-Makefile.PL delete mode 100644 databases/p5-DBD-cego/files/patch-makefile-pl (limited to 'databases/p5-DBD-cego') diff --git a/databases/p5-DBD-cego/Makefile b/databases/p5-DBD-cego/Makefile index c7d736660edf..32a200eb5eab 100644 --- a/databases/p5-DBD-cego/Makefile +++ b/databases/p5-DBD-cego/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= DBD-cego -PORTVERSION= 1.2.9 -PORTREVISION= 1 +PORTVERSION= 1.3.0 CATEGORIES= databases perl5 MASTER_SITES= http://www.lemke-it.com/ PKGNAMEPREFIX= p5- diff --git a/databases/p5-DBD-cego/distinfo b/databases/p5-DBD-cego/distinfo index e459c4a6df3f..0215507ea808 100644 --- a/databases/p5-DBD-cego/distinfo +++ b/databases/p5-DBD-cego/distinfo @@ -1,2 +1,2 @@ -SHA256 (DBD-cego-1.2.9.tar.gz) = 87f867e1afe6b3662faf47fc61579235eba762e6f042eec6680124dc1e57a435 -SIZE (DBD-cego-1.2.9.tar.gz) = 23090 +SHA256 (DBD-cego-1.3.0.tar.gz) = caa7224994e0f52cd474bb4d68439f23102ea8e487c68d2956cf0426eb5fe140 +SIZE (DBD-cego-1.3.0.tar.gz) = 28196 diff --git a/databases/p5-DBD-cego/files/patch-CegoXS.h b/databases/p5-DBD-cego/files/patch-CegoXS.h index b4052386cb61..bced7527f37a 100644 --- a/databases/p5-DBD-cego/files/patch-CegoXS.h +++ b/databases/p5-DBD-cego/files/patch-CegoXS.h @@ -1,5 +1,5 @@ ---- CegoXS.h.orig 2010-11-21 09:25:27.000000000 +0800 -+++ CegoXS.h 2011-05-29 21:11:15.361979766 +0800 +--- CegoXS.h.orig 2010-11-21 01:25:27 UTC ++++ CegoXS.h @@ -9,4 +9,16 @@ #include "dbdimp.h" #include diff --git a/databases/p5-DBD-cego/files/patch-Makefile.PL b/databases/p5-DBD-cego/files/patch-Makefile.PL new file mode 100644 index 000000000000..6ef261c2dc4f --- /dev/null +++ b/databases/p5-DBD-cego/files/patch-Makefile.PL @@ -0,0 +1,62 @@ +--- Makefile.PL.orig 2015-05-01 16:47:29 UTC ++++ Makefile.PL +@@ -28,49 +28,30 @@ $opt = { "help" => \&Usage, }; + Getopt::Long::GetOptions( + $opt, + "help", +- "prefix=s", + "verbose", + ) || die Usage(); + +-if (! exists $opt->{'prefix'}) +-{ +- print "Missing prefix, use option --prefix\n"; +- die Usage(); +-} +- +-use vars qw($loadlibs); +-$loadlibs= "-L" . $opt->{'prefix'} . " -llfc"; + my $so = $Config{so}; + + WriteMakefile( + 'NAME' => 'DBD::Cego', + 'VERSION_FROM' => 'Cego.pm', +- 'PREREQ_PM' => {DBI => 1.03}, ++ 'PREREQ_PM' => {DBI => 1.633}, + 'OBJECT' => '$(O_FILES)', +- 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include -I' . $opt->{'prefix'} . '/include', +- 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.$so* " +- . $opt->{'prefix'} . "/lib/liblfcxml.$so* " +- . $opt->{'prefix'} . "/lib/liblfcbase.$so", +- "CC" => "c++", +- "LD" => "c++", +- "XSPROTOARG" => "-noprototypes", ++ 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include', ++ 'MYEXTLIB' => '-lcego -llfcxml -llfcbase', ++ 'CCFLAGS' => '-O2 -pipe -fno-strict-aliasing -fpermissive', ++ 'LD' => '$(CC) -L/usr/local/lib', + 'OPTIMIZE' => '-O3 -DNDEBUG=1', +- 'XSOPT' => '-C++', +- 'TYPEMAPS' => ['perlobject.map' ], +- 'LICENSE' => 'gpl3', ++ 'XSPROTOARG' => '-noprototypes', ++ 'XSOPT' => '-C++', ++ 'TYPEMAPS' => ['perlobject.map' ], ++ 'LICENSE' => 'gpl3', + 'clean' => { FILES => 'config.h' }, + ); + + sub Usage { +- print STDERR <<"USAGE"; +-Usage: perl $0 [options] +- +-Possible options are: +- +- --prefix= Use for setting up the appropriate prefix path +- to find cego libs and includes +- +-USAGE ++ print STDERR "Usage: perl $0 [options]\n"; + exit 1; + } + diff --git a/databases/p5-DBD-cego/files/patch-makefile-pl b/databases/p5-DBD-cego/files/patch-makefile-pl deleted file mode 100644 index e082794b8e9e..000000000000 --- a/databases/p5-DBD-cego/files/patch-makefile-pl +++ /dev/null @@ -1,61 +0,0 @@ ---- Makefile.PL-orig 2013-11-02 17:48:46.000000000 +0100 -+++ Makefile.PL 2013-11-02 17:52:26.000000000 +0100 -@@ -28,49 +28,30 @@ - Getopt::Long::GetOptions( - $opt, - "help", -- "prefix=s", - "verbose", - ) || die Usage(); - --if (! exists $opt->{'prefix'}) --{ -- print "Missing prefix, use option --prefix\n"; -- die Usage(); --} -- --use vars qw($loadlibs); --$loadlibs= "-L" . $opt->{'prefix'} . " -llfc"; - my $so = $Config{so}; - - WriteMakefile( - 'NAME' => 'DBD::Cego', - 'VERSION_FROM' => 'Cego.pm', -- 'PREREQ_PM' => {DBI => 1.03}, -+ 'PREREQ_PM' => {DBI => 1.628}, - 'OBJECT' => '$(O_FILES)', -- 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include -I' . $opt->{'prefix'} . '/include', -- 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.$so* " -- . $opt->{'prefix'} . "/lib/liblfcxml.$so* " -- . $opt->{'prefix'} . "/lib/liblfcbase.$so", -- "CC" => "g++", -- "LD" => "g++", -- "XSPROTOARG" => "-noprototypes", -+ 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include', -+ 'MYEXTLIB' => '-lcego -llfcxml -llfcbase', -+ 'CCFLAGS' => '-O2 -pipe -fno-strict-aliasing -fpermissive', -+ 'LD' => '$(CC) -L/usr/local/lib', -+ 'XSPROTOARG' => '-noprototypes', - 'OPTIMIZE' => '-O3 -DNDEBUG=1', -- 'XSOPT' => '-C++', -- 'TYPEMAPS' => ['perlobject.map' ], -- 'LICENSE' => 'gpl3', -+ 'XSOPT' => '-C++', -+ 'TYPEMAPS' => ['perlobject.map' ], -+ 'LICENSE' => 'gpl3', - 'clean' => { FILES => 'config.h' }, - ); - - sub Usage { -- print STDERR <<"USAGE"; --Usage: perl $0 [options] -- --Possible options are: -- -- --prefix= Use for setting up the appropriate prefix path -- to find cego libs and includes -- --USAGE -+ print STDERR "Usage: perl $0 [options]\n"; - exit 1; - } -- cgit