From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 30 08:37:54 2013 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8C1AD886; Tue, 30 Jul 2013 08:37:54 +0000 (UTC) (envelope-from pi@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A71C2D14; Tue, 30 Jul 2013 08:37:54 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1V45RF-000KFj-TG; Tue, 30 Jul 2013 10:37:49 +0200 Date: Tue, 30 Jul 2013 10:37:49 +0200 From: Kurt Jaeger To: Frederic Culot Subject: Re: [culot@FreeBSD.org: Re: ports/179254: [patch update] databases/p5-DBD-cego 1.2.0 -> 1.2.3] Message-ID: <20130730083749.GK24852@home.opsec.eu> References: <201306030950.r539o0hp098108@freefall.freebsd.org> <20130728090132.GO24852@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130728090132.GO24852@home.opsec.eu> Cc: lemke@lemke-it.com, FreeBSD-gnats-submit@FreeBSD.org, Kurt Jaeger , freebsd-ports-bugs@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2013 08:37:54 -0000 Hi! > > > > > https://rt.cpan.org/Ticket/Display.html?id=84285 > > > > > > > > should fix DBI, but I do not know how to push harder at upstream 8-) > > > > or the p5-DBI port 8-} > > > > Tim Bunce has included the patch to Driver.xst and it will be in the > > next version of DBI. > > > > I'm sorry that it is a mess, but there's no easy way to fix it without > > the DBI update. > > DBI was updated a few days ago. I submitted > > http://www.freebsd.org/cgi/query-pr.cgi?pr=180902 > > to update it. > > With that, DBD::cego compiles. Included is a slightly newer patch which includes the upgraded DBI requirement. -------------- diff -r -u -N databases/p5-DBD-cego/Makefile /usr/home/pi/myp/databases/p5-DBD-cego/Makefile --- databases/p5-DBD-cego/Makefile 2013-07-10 23:25:35.000000000 +0200 +++ /usr/home/pi/myp/databases/p5-DBD-cego/Makefile 2013-07-30 10:34:09.000000000 +0200 @@ -1,21 +1,24 @@ # Created by: Kurt Jaeger -# $FreeBSD: head/databases/p5-DBD-cego/Makefile 322681 2013-07-10 12:25:52Z bapt $ +# $FreeBSD: head/databases/p5-DBD-cego/Makefile 317340 2013-05-04 20:02:52Z bapt $ PORTNAME= DBD-cego -PORTVERSION= 1.2.0 +PORTVERSION= 1.2.6 CATEGORIES= databases perl5 MASTER_SITES= http://www.lemke-it.com/ PKGNAMEPREFIX= p5- MAINTAINER= fbsd-ports@opsec.eu -COMMENT= Cego DBI driver for Perl 5 +COMMENT= A Cego DBI driver for Perl 5 -LICENSE= GPLv2 +LICENSE= GPLv3 -BUILD_DEPENDS= p5-DBI>=1.61:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= p5-DBI>=1.61:${PORTSDIR}/databases/p5-DBI +BUILD_DEPENDS= p5-DBI>=1.628:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= p5-DBI>=1.628:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= cego.1:${PORTSDIR}/databases/cego -MAKE_JOBS_UNSAFE= yes + +.if defined(.PARSEDIR) +USE_GMAKE= yes +.endif PERL_CONFIGURE= yes CC:= ${CXX} diff -r -u -N databases/p5-DBD-cego/distinfo /usr/home/pi/myp/databases/p5-DBD-cego/distinfo --- databases/p5-DBD-cego/distinfo 2013-01-01 18:29:55.000000000 +0100 +++ /usr/home/pi/myp/databases/p5-DBD-cego/distinfo 2013-07-18 09:32:58.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (DBD-cego-1.2.0.tar.gz) = 37f4cbc997abeb8d089b63ae863e186f38349f04d1045a45c0b414361a7c1436 -SIZE (DBD-cego-1.2.0.tar.gz) = 16433 +SHA256 (DBD-cego-1.2.6.tar.gz) = d944addd62cb3c6bdc853269a7f645f99a7fa255113c7279c81e06313d4b98e9 +SIZE (DBD-cego-1.2.6.tar.gz) = 28192 diff -r -u -N databases/p5-DBD-cego/files/patch-makefile-pl /usr/home/pi/myp/databases/p5-DBD-cego/files/patch-makefile-pl --- databases/p5-DBD-cego/files/patch-makefile-pl 2013-03-30 23:24:27.000000000 +0100 +++ /usr/home/pi/myp/databases/p5-DBD-cego/files/patch-makefile-pl 2013-07-09 09:48:49.000000000 +0200 @@ -1,6 +1,6 @@ ---- Makefile.PL.orig 2010-09-17 10:14:49.000000000 +0200 -+++ Makefile.PL 2013-03-29 14:42:20.000000000 +0100 -@@ -25,30 +25,22 @@ +--- Makefile.PL-orig 2013-07-09 09:44:14.000000000 +0200 ++++ Makefile.PL 2013-07-09 09:48:24.000000000 +0200 +@@ -28,33 +28,23 @@ Getopt::Long::GetOptions( $opt, "help", @@ -16,29 +16,33 @@ - -use vars qw($loadlibs); -$loadlibs= "-L" . $opt->{'prefix'} . " -llfc"; -+# use vars qw($loadlibs); -+# $loadlibs= "-L/usr/local/lib"; + my $so = $Config{so}; WriteMakefile( 'NAME' => 'DBD::Cego', 'VERSION_FROM' => 'Cego.pm', - 'PREREQ_PM' => {DBI => 1.03}, +- '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.a " -- . $opt->{'prefix'} . "/lib/liblfcxml.a " -- . $opt->{'prefix'} . "/lib/liblfc.a", +- 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.$so* " +- . $opt->{'prefix'} . "/lib/liblfcxml.$so* " +- . $opt->{'prefix'} . "/lib/liblfcbase.$so", - "CC" => "g++", - "LD" => "g++", +- "XSPROTOARG" => "-noprototypes", +- 'OPTIMIZE' => '-O6 -DNDEBUG=1', + 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include', -+ 'MYEXTLIB' => '-lcego -llfcxml -llfc', -+ 'CC' => 'g++', -+ 'CCFLAGS' => '-O2 -pipe -fno-strict-aliasing -fpermissive', -+ "LD" => "g++ -L/usr/local/lib", - "XSPROTOARG" => "-noprototypes", - 'OPTIMIZE' => '-O6 -DNDEBUG=1', ++ 'MYEXTLIB' => '-lcego -llfcxml -llfcbase', ++ 'CC' => 'g++', ++ 'CCFLAGS' => '-O2 -pipe -fno-strict-aliasing -fpermissive', ++ 'LD' => 'g++ -L/usr/local/lib', ++ 'XSPROTOARG' => '-noprototypes', ++ 'OPTIMIZE' => '-O3 -DNDEBUG=1', 'XSOPT' => '-C++', -@@ -59,12 +51,6 @@ + 'TYPEMAPS' => ['perlobject.map' ], + 'clean' => { FILES => 'config.h' }, +@@ -63,12 +53,6 @@ sub Usage { print STDERR <<"USAGE"; Usage: perl $0 [options] -------------- -- pi@opsec.eu +49 171 3101372 7 years to go !