At 5:03 Uhr -0400 10.05.2002, Dave Vasilevsky wrote:
[...]
>Here's the patch for problem 3:
>
>diff -Naur gdk-pixbuf-0.16.0/configure gp-new/configure
>--- gdk-pixbuf-0.16.0/configure 2002-01-22 20:11:48.000000000 -0500
>+++ gp-new/configure 2002-05-10 03:02:44.000000000 -0400
>@@ -3338,7 +3338,7 @@
> # FIXME: Relying on posixy $() will cause problems for
> # cross-compilation, but unfortunately the echo tests do not
> # yet detect zsh echo's removal of \ escapes.
>- archive_cmds='$CC $(test .$module = .yes && echo -bundle ||
>echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs
>$deplibs$linkopts -install_name $rpath/$soname $(test -n
>"$verstring" -a x$verstring != x0.0 && echo $verstring)'
>+ archive_cmds='$CC $(test .$module = .yes && echo -bundle ||
>echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs
>$deplibs$linkopts -install_name $rpath/$soname $tmp_verstring'
> # We need to add '_' to the symbols in $export_symbols first
> #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
> hardcode_direct=yes
>diff -Naur gdk-pixbuf-0.16.0/ltmain.sh gp-new/ltmain.sh
>--- gdk-pixbuf-0.16.0/ltmain.sh 2002-01-22 20:11:43.000000000 -0500
>+++ gp-new/ltmain.sh 2002-05-10 03:04:49.000000000 -0400
>@@ -2862,6 +2862,11 @@
> if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
> eval cmds=\"$archive_expsym_cmds\"
> else
>+ if test "x$verstring" = "x0.0"; then
>+ tmp_verstring=
>+ else
>+ tmp_verstring="$verstring"
>+ fi
> eval cmds=\"$archive_cmds\"
> fi
> IFS="${IFS= }"; save_ifs="$IFS"; IFS='~'
>
Looking at this, I would like to know why exactly this fails:
$(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)
Is it because of spacial chars in $verstring that break since it's
not quoted? What exactly is a value of "$verstring" that makes it
choke? It shouldn't be caused by spaces, since those would break zsh,
too, wouldn't they?
Cheers,
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel