svn commit: r323968 - in head/databases/p5-DBD-cego: . files
Frederic Culot
culot at FreeBSD.org
Tue Jul 30 13:50:29 UTC 2013
Author: culot
Date: Tue Jul 30 13:50:28 2013
New Revision: 323968
URL: http://svnweb.freebsd.org/changeset/ports/323968
Log:
- Update to 1.2.6
- Update LICENSE (now GPLv3, was GPLv2)
PR: ports/179254
Submitted by: Kurt Jaeger <fbsd-ports at opsec.eu> (maintainer)
Modified:
head/databases/p5-DBD-cego/Makefile
head/databases/p5-DBD-cego/distinfo
head/databases/p5-DBD-cego/files/patch-makefile-pl
Modified: head/databases/p5-DBD-cego/Makefile
==============================================================================
--- head/databases/p5-DBD-cego/Makefile Tue Jul 30 13:45:39 2013 (r323967)
+++ head/databases/p5-DBD-cego/Makefile Tue Jul 30 13:50:28 2013 (r323968)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= DBD-cego
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.6
CATEGORIES= databases perl5
MASTER_SITES= http://www.lemke-it.com/
PKGNAMEPREFIX= p5-
@@ -10,12 +10,15 @@ PKGNAMEPREFIX= p5-
MAINTAINER= fbsd-ports at opsec.eu
COMMENT= 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}
Modified: head/databases/p5-DBD-cego/distinfo
==============================================================================
--- head/databases/p5-DBD-cego/distinfo Tue Jul 30 13:45:39 2013 (r323967)
+++ head/databases/p5-DBD-cego/distinfo Tue Jul 30 13:50:28 2013 (r323968)
@@ -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
Modified: head/databases/p5-DBD-cego/files/patch-makefile-pl
==============================================================================
--- head/databases/p5-DBD-cego/files/patch-makefile-pl Tue Jul 30 13:45:39 2013 (r323967)
+++ head/databases/p5-DBD-cego/files/patch-makefile-pl Tue Jul 30 13:50:28 2013 (r323968)
@@ -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]
More information about the svn-ports-all
mailing list