--- hdf5/configure.orig Fri Nov 5 12:53:29 2004 +++ hdf5/configure Fri Nov 5 12:53:51 2004 @@ -5286,7 +5286,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='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' + archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -lsz -install_name $rpath/$soname $verstring' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes --- hdf5/fortran/config/powerpc-apple.orig 2006-01-02 19:56:15.000000000 -0700 +++ hdf5/fortran/config/powerpc-apple 2006-01-02 19:59:05.000000000 -0700 @@ -30,10 +30,20 @@ # The default Fortran 90 compiler if test "X-" = "X-$F9X"; then - F9X=xlf - F9X_BASENAME=xlf - else - F9X_BASENAME=f95 + case $F9X in + # The ibm, g95 and absoft + xlf*|g95*|f95*) + ;; + xlf) + F9X_BASENAME=xlf5 + ;; + g95) + F9X_BASENAME=g95 + ;; + f95) + F9X_BASENAME=f95 + ;; + esac fi # @@ -54,7 +64,7 @@ OBJECT_NAMELEN_DEFAULT_F=-1 case $F9X_BASENAME in - xlf) + xlf) # ibm compiler F9XSUFFIXFLAG="-qsuffix=f=f90 -qfree=f90" FFLAGS="$FFLAGS -static -O ${F9XSUFFIXFLAG} -qmoddir=./ " FSEARCH_DIRS="-I./ -I../src" @@ -64,10 +74,7 @@ f9x_flags_set=yes ;; - # - # Assume Absoft compiler - # - f95) + f95) # absoft compiler # Set required flag for compiling C stubs CFLAGS="$CFLAGS -DH5_ABSOFT" --- hdf5/fortran/src/H5f90i.h.orig 2006-01-02 19:51:55.000000000 -0700 +++ hdf5/fortran/src/H5f90i.h 2006-01-02 19:54:10.000000000 -0700 @@ -62,10 +62,10 @@ typedef int int_f; typedef int hid_t_f; typedef float real_f; -#define FNAME(x) x #if defined H5_ABSOFT #define DF_CAPFNAMES #endif /*H5_ABSOFT*/ +#define FNAME_POST2_UNDERSCORE #define _fcdtocp(desc) (desc) #endif /*APPLE*/