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 (Revision 17)
Currently displaying revision
17
,
show latest
--- Makefile.PL.orig 2013-05-16 21:59:25.000000000 +0200 +++ Makefile.PL 2013-05-16 22:20:38.448545180 +0200 @@ -26,6 +26,7 @@ $opt, "help", "prefix=s", + "lib=s", "verbose", ) || die Usage(); @@ -34,6 +35,11 @@ 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"; @@ -43,10 +49,10 @@ '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",