ports/179254: [patch update] databases/p5-DBD-cego 1.2.0 -> 1.2.3
Kurt Jaeger
fbsd-ports at opsec.eu
Mon Jun 3 09:50:00 UTC 2013
>Number: 179254
>Category: ports
>Synopsis: [patch update] databases/p5-DBD-cego 1.2.0 -> 1.2.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 03 09:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Kurt Jaeger
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD fa9.opsec.eu 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
databases/p5-DBD-cego 1.2.0 -> 1.2.3
>How-To-Repeat:
-
>Fix:
diff -r -u -N databases/p5-DBD-cego/Makefile /usr/home/pi/myp/databases/p5-DBD-cego/Makefile
--- databases/p5-DBD-cego/Makefile 2013-05-05 23:25:17.000000000 +0200
+++ /usr/home/pi/myp/databases/p5-DBD-cego/Makefile 2013-06-03 11:36:21.000000000 +0200
@@ -2,7 +2,7 @@
# $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.3
CATEGORIES= databases perl5
MASTER_SITES= http://www.lemke-it.com/
PKGNAMEPREFIX= p5-
@@ -10,7 +10,7 @@
MAINTAINER= fbsd-ports at opsec.eu
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
@@ -26,6 +26,6 @@
MAN3= DBD::Cego.3
post-configure:
- @${REINPLACE_CMD} -e 's|fno-strict-aliasing|fno-strict-aliasing -fpermissive|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|fno-strict-aliasing|fno-strict-aliasing -fno-color-diagnostics|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
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-06-03 11:36:27.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.3.tar.gz) = e78232498e9a16df66c583877b147ea20ab7cdafdeea6befeb21592d5278f5cd
+SIZE (DBD-cego-1.2.3.tar.gz) = 36236
diff -r -u -N databases/p5-DBD-cego/files/patch-CegoXS.h /usr/home/pi/myp/databases/p5-DBD-cego/files/patch-CegoXS.h
--- databases/p5-DBD-cego/files/patch-CegoXS.h 2013-01-01 18:29:55.000000000 +0100
+++ /usr/home/pi/myp/databases/p5-DBD-cego/files/patch-CegoXS.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
---- CegoXS.h.orig 2010-11-21 09:25:27.000000000 +0800
-+++ CegoXS.h 2011-05-29 21:11:15.361979766 +0800
-@@ -9,4 +9,16 @@
- #include "dbdimp.h"
- #include <dbd_xsh.h>
-
-+#ifndef sv_yes
-+#define sv_yes PL_sv_yes
-+#endif
-+
-+#ifndef sv_no
-+#define sv_no PL_sv_no
-+#endif
-+
-+#ifndef dirty
-+#define dirty PL_dirty
-+#endif
-+
- #endif
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-05-26 18:59:15.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-05-26 18:59:03.000000000 +0200
++++ Makefile.PL 2013-05-26 18:59:07.000000000 +0200
+@@ -25,32 +25,21 @@
Getopt::Long::GetOptions(
$opt,
"help",
@@ -16,9 +16,7 @@
-
-use vars qw($loadlibs);
-$loadlibs= "-L" . $opt->{'prefix'} . " -llfc";
-+# use vars qw($loadlibs);
-+# $loadlibs= "-L/usr/local/lib";
-
+-
WriteMakefile(
'NAME' => 'DBD::Cego',
'VERSION_FROM' => 'Cego.pm',
@@ -27,18 +25,21 @@
- '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",
+- . $opt->{'prefix'} . "/lib/liblfcbase.a",
- "CC" => "g++",
- "LD" => "g++",
+ '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",
++ 'MYEXTLIB' => '-lcego -llfcxml -llfcbase',
++ "CC" => "g++",
++ "CCFLAGS" => '-O2 -pipe -fno-strict-aliasing -fpermissive',
++ "LD" => "g++ -L/usr/local/lib",
"XSPROTOARG" => "-noprototypes",
- 'OPTIMIZE' => '-O6 -DNDEBUG=1',
+- 'OPTIMIZE' => '-O6 -DNDEBUG=1',
++ 'OPTIMIZE' => '-O3 -DNDEBUG=1',
'XSOPT' => '-C++',
-@@ -59,12 +51,6 @@
+ 'TYPEMAPS' => ['perlobject.map' ],
+ 'clean' => { FILES => 'config.h' },
+@@ -59,12 +48,6 @@
sub Usage {
print STDERR <<"USAGE";
Usage: perl $0 [options]
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list