Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
cego
>
perl-DBD-cego
> DBD-cego-libdir-1.2.1.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File DBD-cego-libdir-1.2.1.patch of Package perl-DBD-cego
--- Makefile.PL.orig 2013-05-16 21:59:25.000000000 +0200 +++ Makefile.PL 2013-05-16 22:52:04.712537780 +0200 @@ -26,6 +26,7 @@ $opt, "help", "prefix=s", + "lib=s", "verbose", ) || die Usage(); @@ -34,19 +35,24 @@ print "Missing prefix, use option --prefix\n"; die Usage(); } +if (! exists $opt->{'lib'}) +{ + print "Missing lib option, use option --lib\n"; + die Usage(); +} use vars qw($loadlibs); -$loadlibs= "-L" . $opt->{'prefix'} . " -llfc"; +$loadlibs= "-L" . $opt->{'prefix'} . " -llfcbase"; 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/liblfcbase.a", + 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include/lfc -I' . $opt->{'prefix'} . '/include -I' . $opt->{'prefix'} . '/include/cego', + 'MYEXTLIB' => $opt->{'prefix'} . "/" . $opt->{'lib'} . "/libcego.a " + . $opt->{'prefix'} . "/" . $opt->{'lib'} . "/liblfcxml.a " + . $opt->{'prefix'} . "/" . $opt->{'lib'} . "/liblfcbase.a", "CC" => "g++", "LD" => "g++", "XSPROTOARG" => "-noprototypes",