Since 10.2 will be using bash as /bin/sh, I tried building some packages with /bin/sh as a symlink to bash. Most things work fine, but there are a few problems that need fixing:
1) Bash chokes on a Compile/Install/PatchScript that is just ";". Instead, if you want to do nothing, just use 'echo "No compile needed"', or something to that effect. I fixed this in these packages in CVS: app-defaults-20010814-2 crypt++el-2.9.1-1 cvs2cl-2.38-1 ifmslide-0.45-2 pccts-1.33-1 pdfscreen-1.5-2 pdfslide-0.50-2 revtex-4.0-3 rox-base-1.0.2-1 seminar-1.0e-2 texpower-0.0.8f-2 w3m-el-1.2.4-1 x-ghostscript-fonts-20020206-3 xforms-0.89-2 2) Bash doesn't use the construct lib(foo|bar).dylib to refer to libfoo.dylib and libbar.dylib. Bash will work with lib{foo,bar}.dylib, but zsh won't. So neither should be used. I fixed this in these packages in CVS (all Masanori's): esound-0.2.23-5 libvorbis-1.0rc3-3 libxpg4-20010605-14 orbit-0.5.15-2 xmms-1.2.7-1 3) Many packages have a problem with libtool that makes their libraries unversioned if built with bash. I have appended a patch which appears to fix this problem; it was tested with gdk-pixbuf and bonobo. The following error is symptomatic of this problem: ../libtool: test: too many arguments And this line (or something similar) is in configure in all the cases I've investigated: 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)' These are some of the packages which probably need to be fixed, though I have not done so myself. I'm sure there are more, so please check your packages: bonobo freetype2 gdk-pixbuf gtk+ gal19 guile libxml2 libxslt oaf pcre There may be more problems involving bash, so please try building your packages with it. (Note that you may have to remove libxpg4 in order to use bash as /bin/sh properly.) Hopefully we can get everything fixed before 10.2 is out. On the positive side, bash makes anything with shell scripts (especially libtool) build much, much faster, so it shouldn't take too long to test things out. Dave Vasilevsky 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='~' _______________________________________________________________ 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