Re: [Cooker] Re: [CHRPM] librep-0.15.1-1mdk

2001-10-31 Thread R.I.P. Deaddog

On Wed, 31 Oct 2001, Frederic Crozat wrote:

> >> --=-=-=
> >> Name: librep   Relocations: (not
> >> relocateable) Version : 0.15.1Vendor:
> >> MandrakeSoft Release : 1mdk
> >> --=-=-=
> > Why is the following patch inside librep?
> >
> > # (fc) don't exec through libtool
> > Patch0: librep-0.15.1-exec.patch.bz2
>
> Try to compile librep without this patch and you'll see :))
>
> The call to libtool to run rep when bytecompiling .jl files is not needed
> since src/rep is already a libtool wrapper (and fails to compile
> correctly). I think this problem is caused by librep authors using very
> old version of libtool...

Ah... so good to know that it's not just my own problem. Even
librep 0.14 fail to build. Anyway, an interesting observation:
it doesn't fail to compile if libtool-1.4-6mdk is used (from Mdk 8.1).

Another observation: libtool is adding extra double quotes to file names
and options to rep (something like '"--batch"') so that rep interprets
the should-be options as file names, hence the failure.

Not sure if the attached patch is the correct fix, but it seems to work
fine for me...

Abel


--- libtool-1.4.2/ltmain.sh.executemode Tue Oct 16 20:19:10 2001
+++ libtool-1.4.2/ltmain.sh Tue Oct 16 20:19:58 2001
@@ -4638,7 +4638,7 @@
   esac
   # Quote arguments (to preserve shell metacharacters).
   file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
-  args="$args \"$file\""
+  args="$args $file"
 done
 
 if test -z "$run"; then



[Cooker] Re: [CHRPM] librep-0.15.1-1mdk

2001-10-31 Thread R.I.P. Deaddog

On Fri, 26 Oct 2001, Frederic Crozat wrote:

> --=-=-=
> Name: librep   Relocations: (not relocateable)
> Version : 0.15.1Vendor: MandrakeSoft
> Release : 1mdk
> --=-=-=
>
> * Thu Oct 25 2001 Frederic Crozat <[EMAIL PROTECTED]> 0.15.1-1mdk
> - Release 0.15.1
> - Libification

Why is the following patch inside librep?

# (fc) don't exec through libtool
Patch0: librep-0.15.1-exec.patch.bz2

Abel