@@ -1,6 +1,26 @@
--- Makefile.PL.orig 2011-06-19 14:27:14.204529532 +0200
-+++ Makefile.PL 2011-06-19 14:32:16.734749541 +0200
-@@ -43,10 +43,10 @@
++++ Makefile.PL 2011-06-19 14:39:22.784894468 +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->{'opt'})
++{
++ 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)',
@@ -8,7 +28,7 @@
- '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',
++ '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",
|