Index: head/databases/p5-DBD-cego/Makefile =================================================================== --- head/databases/p5-DBD-cego/Makefile (revision 273245) +++ head/databases/p5-DBD-cego/Makefile (revision 273246) @@ -1,26 +1,27 @@ # New ports collection makefile for: p5-DBD-cego # Date created: Jul 2, 2010 # Whom: Kurt Jaeger # # $FreeBSD$ PORTNAME= DBD-cego PORTVERSION= 1.1.14 +PORTRESIVION= 1 CATEGORIES= databases perl5 MASTER_SITES= http://www.lemke-it.com/ PKGNAMEPREFIX= p5- MAINTAINER= fbsd-ports@opsec.eu COMMENT= A Cego DBI driver for Perl 5 BUILD_DEPENDS= p5-DBI>=1.61:${PORTSDIR}/databases/p5-DBI RUN_DEPENDS:= ${BUILD_DEPENDS} LIB_DEPENDS= cego.1:${PORTSDIR}/databases/cego LICENSE= GPLv2 PERL_CONFIGURE= yes CC:= ${CXX} MAN3= DBD::Cego.3 .include Property changes on: head/databases/p5-DBD-cego/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/databases/p5-DBD-cego/files/patch-makefile-pl =================================================================== --- head/databases/p5-DBD-cego/files/patch-makefile-pl (revision 273245) +++ head/databases/p5-DBD-cego/files/patch-makefile-pl (revision 273246) @@ -1,43 +1,51 @@ ---- Makefile.PL.orig 2010-09-17 10:14:49.000000000 +0200 -+++ Makefile.PL 2010-09-17 21:51:58.000000000 +0200 -@@ -29,12 +29,6 @@ +--- Makefile.PL 2010-09-17 10:14:49.000000000 +0200 ++++ /tmp/bla/Makefile.PL 2011-04-24 22:00:03.000000000 +0200 +@@ -25,30 +25,21 @@ + 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"; +-use vars qw($loadlibs); +-$loadlibs= "-L" . $opt->{'prefix'} . " -llfc"; ++# use vars qw($loadlibs); ++# $loadlibs= "-L/usr/local/lib"; -@@ -43,10 +37,8 @@ + WriteMakefile( + 'NAME' => 'DBD::Cego', 'VERSION_FROM' => 'Cego.pm', 'PREREQ_PM' => {DBI => 1.03}, '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", -+ 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include -I' . $opt->{'prefix'} . '/include', -+ 'MYEXTLIB' => ' -llfc -llfcxml -lcego ', ++ 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include', ++ 'MYEXTLIB' => '-lcego -llfcxml -llfc', "CC" => "g++", - "LD" => "g++", +- "LD" => "g++", ++ "LD" => "g++ -L/usr/local/lib", "XSPROTOARG" => "-noprototypes", -@@ -58,13 +50,7 @@ - + 'OPTIMIZE' => '-O6 -DNDEBUG=1', + 'XSOPT' => '-C++', +@@ -59,12 +50,6 @@ sub Usage { print STDERR <<"USAGE"; --Usage: perl $0 [options] + Usage: perl $0 [options] - -Possible options are: - - --prefix= Use for setting up the appropriate prefix path - to find cego libs and includes - -+Usage: perl $0 USAGE exit 1; } Property changes on: head/databases/p5-DBD-cego/files/patch-makefile-pl ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property