Index: head/databases/p5-DBD-cego/files/patch-Makefile.PL =================================================================== --- head/databases/p5-DBD-cego/files/patch-Makefile.PL (revision 453761) +++ head/databases/p5-DBD-cego/files/patch-Makefile.PL (nonexistent) @@ -1,62 +0,0 @@ ---- 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; - } - Property changes on: head/databases/p5-DBD-cego/files/patch-Makefile.PL ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/databases/p5-DBD-cego/files/patch-CegoXS.h =================================================================== --- head/databases/p5-DBD-cego/files/patch-CegoXS.h (revision 453761) +++ head/databases/p5-DBD-cego/files/patch-CegoXS.h (nonexistent) @@ -1,19 +0,0 @@ ---- CegoXS.h.orig 2010-11-21 01:25:27 UTC -+++ CegoXS.h -@@ -9,4 +9,16 @@ - #include "dbdimp.h" - #include - -+#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 Property changes on: head/databases/p5-DBD-cego/files/patch-CegoXS.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/databases/p5-DBD-cego/Makefile =================================================================== --- head/databases/p5-DBD-cego/Makefile (revision 453761) +++ head/databases/p5-DBD-cego/Makefile (revision 453762) @@ -1,25 +1,26 @@ # $FreeBSD$ PORTNAME= DBD-cego PORTVERSION= 1.4.0 CATEGORIES= databases perl5 MASTER_SITES= http://www.lemke-it.com/ PKGNAMEPREFIX= p5- MAINTAINER= pi@FreeBSD.org COMMENT= Cego DBI driver for Perl 5 LICENSE= GPLv3 BUILD_DEPENDS= p5-DBI>=1.631:databases/p5-DBI RUN_DEPENDS= p5-DBI>=1.631:databases/p5-DBI LIB_DEPENDS= libcego.so:databases/cego USES= gmake perl5 USE_PERL5= configure CC:= ${CXX} +CONFIGURE_ARGS+= --prefix=${PREFIX} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DBD/Cego/Cego.so .include