Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
cego
>
perl-DBD-cego
> DBD-cego-libdir.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File DBD-cego-libdir.patch of Package perl-DBD-cego
--- Makefile.PL.orig 2011-06-19 14:27:14.204529532 +0200 +++ Makefile.PL 2011-06-19 14:41:42.144362065 +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/liblfc.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'} . "/liblfc.a", "CC" => "g++", "LD" => "g++", "XSPROTOARG" => "-noprototypes",