Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci In directory sc8-pr-cvs17:/tmp/cvs-serv14974
Added Files: ccp4.info ccp4.patch Log Message: ccp4 moved to stable, thanks to gfortran --- NEW FILE: ccp4.info --- Package: ccp4 Version: 6.0.2 Revision: 6 GCC: 4 Source: ftp://ftp.ccp4.ac.uk/ccp4/%v/source/ccp4-%v-core-src.tar.gz Source-MD5: a47ae8b8e6fa76eef7f17baa85e8dc16 SourceDirectory: ccp4-%v Source2: ftp://ftp.ccp4.ac.uk/ccp4/%v/source/phaser-1.3.3-cctbx-src.tar.gz Source2-MD5: edff4d201e7b6d987c05efcf965f6023 Source3: http://chemistry.ucsc.edu/~wgscott/xtal/xtalfink/XCCPJiffy-custom.gz Source3-MD5: 21568dd2475505929573a3fd452c538f Source4: http://chemistry.ucsc.edu/~wgscott/xtal/xtalfink/ccp4_i686-apple-darwin8.6.1_libtool.gz Source4-MD5: e40104835406c75c8aee16471b2dd06e # The follwing are CCP4-issued version-specific patch files from the website at # http://www.ccp4.ac.uk/problems.php#ccp4-6.0.2 Source5: ftp://ftp.ccp4.ac.uk/ccp4/%v/patches/topp.f-r1.16.2.5-r1.16.2.6.diff Source5-MD5: a23e9886620886a694295ac2e671156a Source6: ftp://ftp.ccp4.ac.uk/ccp4/%v/patches/scala.f-r1.101.2.3-r1.101.2.4.diff Source6-MD5: 0c78e93e77c892d071ed0732f7a89102 Source7: ftp://ftp.ccp4.ac.uk/ccp4/%v/patches/util_windows.tcl-r1.27-r1.27.2.1.diff Source7-MD5: 52ac21688c047287d4fcbbd1aaaea774 Source8: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/amore.f-r1.115-r1.116.diff Source8-MD5: 26a124b160c4215d6b20749f20932920 Source9: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/crystal.C-r1.5-r1.6.diff Source9-MD5: 5c62b4a7399aded0f0c896c4315cfff6 Source10: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/export-r1_12.tcl Source10-MD5: 984f7305ba151d961bef2ac25b1b9925 Source11: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/export-r1_6.def Source11-MD5: 3babc1ee652fed6d2bb976bde41450a8 Source12: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/mtz2various-r1_132.f Source12-MD5: 7ed02a1cd000a912ecef8a61a59d8560 Source13: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/mtz2various-r1_40.html Source13-MD5: fa9127eaceeb3e20328400a5add6b042 #Source14: ftp://ftp.ccp4.ac.uk/ccp4/6.0.2/patches/mtz2various.f-r1.124.2.3-r1.124.2.4.diff #Source14-MD5: 9fde5290a42032916893cd9d0ffd5b15 # DescPort: << CCP4 is designed to compile with gfortran on OS X >= 10.4 by default. Jack Howarth has provided multiple improvements in the patch file to address several bugs and to permit optimization with gfortran at -O3. Users typically install all of the ccp4 files into /xtal/ccp4-%v or into /usr/local/xtal/ccp4-%v. In the present case, these files are installed into %p/share/xtal/ccp4-%v. The library files are installed into the directory %p/lib/ccp4-%v and this directory is symbolically linked to %p/share/xtal/ccp4-%v/lib which is the canonical location. Dynamic libraries are provided in the ccp4-shlibs splitoff package, and static libraries are provided in the ccp4-dev splitoff package. The configure files are patched so that the full path to the dynamic libraries is hard-coded, per fink policy. This obviates the need to set the DYLD_LIBRARY_PATH environment variable, which should remain unset. The appropriate shell startup files are automatically sourced when %p/bin/init.(c)sh is invoked upon shell startup; there is no need to do so manually. The actual files are located in $CCP4/include. Although phaser is built, the cctbx files are not installed in $CLIB. If needed, please install the cctbx fink package. The ccp4i mail utility by default will only work on machines that run a mail server. As a workaround, a public domain perl script called osx_ccp4_mail is installed that glues the ccp4i mail button to the Apple OS X Mail.app. Further adaptations are commented in place in the patch, configure and install scripts below. Relevant patches specific to this version that are issued by CCP4 are now downloaded and applied individually, helping to keep the ccp4.patch file from growing metastatically and also to permit the user to verify that the latest patches have been applied. These start with Source5 (above) and are applied individually at the end of the PatchScript field. << Depends: << x11, tcltk, blt, gcc42-shlibs, fftw-shlibs, %N-shlibs (= %v-%r) << BuildDepends: << gcc42, f2c, fort77, tcltk-dev, fftw << Replaces: << mosflm (<= 6.2.3-2), mosflm-small (<= 6.2.3-2), refmac (<= 5.2), ccp4-shlibs (<= 6.0.1-9999), ccp4 (<= 6.0.1-9999), ccp4-dev (<= 6.0.1-9999), bundle-ccp4-intel, clipper-bin, ccp4-gfortran, ccp4-gfortran-dev, bundle-ccp4-powerpc << Conflicts: << ccp4-shlibs (<= 6.0.1-9999) , ccp4 (<= 6.0.1-9999), ccp4-dev (<= 6.0.1-9999), bundle-ccp4-intel, bundle-ccp4-powerpc, ccp4-gfortran, ccp4-gfortran-dev << NoSetCPPFLAGS: true NoSetLDFLAGS: true # ################################################################################ PatchScript: << #!/bin/zsh -efv # umask 0022 # Now apply the primary patch sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1 # setup script for tcsh, zsh and bash users export TEMPXTAL=$PWD:h # perl -pi.bak -e 's|/xtal|\$TEMPXTAL|g' include/ccp4.setup* # build prefix (changed in install) perl -pi.bak -e 's|/prefix|%p|g' include/ccp4.setup* # location of tcktk, blt perl -pi.bak -e 's|/usr/local/bin|%p/bin|g' include/ccp4.setup* # same perl -pi.bak -e 's|limit stacksize 65536|limit stacksize unlimited|g' include/ccp4.setup* # same # perl -pi.bak -e 's|SW_PREFIX|%p|g' **/configure # location of tcktk, blt cp include/ccp4.setup-dist include/ccp4.setup rm -f include/ccp4.setup-bash **/configure.bak include/ccp4.setup*.bak # # Set up XCCPJiffy wrapper scripts in $CCP4/etc # These are small wrapper scripts for xplot84driver and xloggraph generated by the patch chmod a+x etc/x* # Fix the dylib install path in configure perl -pi.bak -e 's|\$rpath|%p/lib/ccp4-%v|g' **/configure # We need the mmdbold clipper libraries built for COOT: perl -pi.bak -e 's|enable_mmdbold=no|enable_mmdbold=yes|g' lib/clipper/configure* # # Now apply all patches issued by CCP4 subsequent to the %v release: /usr/bin/patch src/topp_/topp.f ../topp.f-r1.16.2.5-r1.16.2.6.diff /usr/bin/patch src/scala_/scala.f ../scala.f-r1.101.2.3-r1.101.2.4.diff /usr/bin/patch ccp4i/src/util_windows.tcl ../util_windows.tcl-r1.27-r1.27.2.1.diff /usr/bin/patch src/amore.f ../amore.f-r1.115-r1.116.diff /usr/bin/patch src/bp3_/crystal.C ../crystal.C-r1.5-r1.6.diff cp ../export-r1_12.tcl ccp4i/tasks/export.tcl cp ../export-r1_6.def ccp4i/tasks/export.def cp ../mtz2various-r1_132.f src/mtz2various.f cp ../mtz2various-r1_40.html html/mtz2various.html # /usr/bin/patch src/mtz2various.f ../mtz2various.f-r1.124.2.3-r1.124.2.4.diff # << ################################################################################ CompileScript: << #!/bin/zsh -efv umask 0022 # The build will fail if Norton Auto-Protect is running. # Check to see if it is, and abort the installation with a # warning to the user. if [[ $(ps axww | grep NortonAutoProtect | wc -l) -gt 1 ]];then print "\e[1m******************************************************************************************************" print "******************************************************************************************************" print "******************************************************************************************************" print "" print "Norton AutoProtect must be suspended during CCP4 installation. Please do so now and then try again." print "" print "******************************************************************************************************" print "******************************************************************************************************" print "******************************************************************************************************\e[0m" sleep 15 return 1000 fi # These are required for the build environment export TEMPXTAL=$PWD:h source include/ccp4.setup-zsh export DYLD_LIBRARY_PATH=$CLIB export rpath=%p/lib/ccp4-%v export RPATH=%p/lib/ccp4-%v # The cctbx sub-package requires us to use the system's own Python export PATH=/System/Library/Frameworks/Python.framework/Versions/Current/bin:$PATH export PYTHONHOME="/System/Library/Frameworks/Python.framework/Versions/Current" export PYTHONPATH="/System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.3" # gfortran is actually used by default, but to ensure the right thing happens, specify it. FC="%p/lib/gcc4.2/bin/gfortran" F_LIBS="-L%p/lib/gcc4.2/lib" ./configure --with-shared-libs --with-fftw=%p --with-x Darwin # fix some post-configure bugs by getting rid of -lg2c perl -pi.bak -e 's|-lg2c||g' x-windows/**/*akefile* if [[ $(uname -p) != powerpc ]];then perl -pi.bak -e 's|%p/lib/gcc4.2/bin/||g' lib/clipper/**/Makefile* # Replace the ccp4 libtool file with one that works and compiles cpirate: cp ../ccp4_i686-apple-darwin8.6.1_libtool.gz lib/clipper/libtool.gz mv -f lib/clipper/libtool lib/clipper/libtool-dist gunzip lib/clipper/libtool.gz chmod a+x lib/clipper/libtool fi ( cd x-windows/XCCPJIFFY; perl -pi.bak -e 's|-lgfortran|-lgfortran -L%p/lib/gcc4.2/lib |g' *akefile* ) || exit 1 ################# make make install ################# # xloggraph will fail, but we will link it with fort77 below # # Make wrappers for xplot84driver and xloggraph, so rename the executables cd x-windows/XCCPJIFFY cp xplot84driver $CBIN/xplot84driver.exe rm -f $CBIN/xplot84driver # # Manually link xloggraph with fort77 (fails in make) echo "" echo "**********************************************************************" echo "Re-linking xloggraph with fort77. Ignore previous error messages." echo "**********************************************************************" echo "" # perl -pi.bak -e 's|FC = g77 -fno-second-underscore||g' Makefile make -i xloggraph 2>/dev/null fort77 -o xloggraph msg_box.o ZDr2d.o EditString.o hardcopy_ctrl.o xloggraph.o log_file.o tom_fortran_interface.o bits_and_pieces.o graphics.o -g -Os -I/usr/include/X11R6 -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm -lgfortran -L%p/lib/gcc4.2/lib # sleep 10 # cp xloggraph $CBIN/xloggraph.exe if [[ -x $CBIN/xloggraph ]];then rm -f $CBIN/xloggraph fi cd ../.. # # Cleanup: # # make realclean /bin/rm -f **/*.o /bin/rm -f **/*.bak /bin/rm -Rf src /bin/rm -Rf x-windows/libjwc/libjwc_c /bin/rm -Rf x-windows/libjwc/libjwc_f /bin/rm -Rf x-windows/xdl_view/src # remove redundant library junk /bin/rm -Rf lib/cctbx /bin/rm -Rf lib/**/.libs /bin/rm -f lib/ccif/libccif.dylib /bin/rm -f lib/src/libccp4c.dylib /bin/rm -f lib/src/libmmdb.dylib #/bin/rm -R unsupported /bin/rm -R testcomp* /bin/rm -R BINARY* cd $CLIB /bin/rm -f **/*.c /bin/rm -f **/*.f /bin/rm -f **/*.cpp echo "Compile Phase Completed!" echo "There are $(command ls -1 $CBIN | wc -l) programs in $CBIN; " echo "there should be 200" << ################################################################################ InstallScript: << #!/bin/zsh -efv umask 0022 export TEMPXTAL=$PWD:h source include/ccp4.setup-zsh export DYLD_LIBRARY_PATH=$CLIB ORIGDIR=$(dirname $PWD) # Change environment scripts to match final installation perl -pi -e 's|\$TEMPXTAL|%p/share/xtal|g' include/ccp4.setup* # install prefix # # cp ../XCCPJiffy-custom.gz XCCPJiffy.gz ; gunzip XCCPJiffy.gz; chmod a+x XCCPJiffy perl -pi -e 's|5.0.1|%v|g' XCCPJiffy mv -f XCCPJiffy lib/X11/app-defaults/XCCPJiffy # perl -pi.bak -e 's|/src/fink.build/ccp4-%v-%r|/share/xtal|g' bin/clipper-config rm -f bin/clipper-config.bak perl -pi.bak -e 's|lclipper |lclipper-core |g' bin/clipper-config rm -f bin/clipper-config.bak perl -pi.bak -e 's|lib/lib -lrfftw -lfftw |lib/ccp4-%v -lsrfftw -lsfftw |g' bin/clipper-config rm -f bin/clipper-config.bak # # Fix path in libfoo.la libtool files: # perl -pi.bak -e 's|/src/fink.build/ccp4-%v-%r/ccp4-%v/lib|/lib/ccp4-%v|g' lib/**/*.la rm -f lib/**/*.la.bak # # Now install: # mkdir -p %i/lib cp -R lib %i/lib/ccp4-%v mkdir -p %i/bin # mkdir -p %i/share/xtal/ccp4-%v/help mkdir -p %i/share/man/man1 # set up man pages in a fink-compliant manner cd $PWD/doc mv rasmol.doc eightbit_rasmol.doc foreach docfilepage ( *.doc ) cp ${docfilepage} %i/share/man/man1/${docfilepage:r}.1 cp ${docfilepage} %i/share/xtal/ccp4-%v/help/${docfilepage:r} end # back to build directory cd .. # /bin/rm -rf lib cp -R * %i/share/xtal/ccp4-%v/. ln -s %p/lib/ccp4-%v %i/share/xtal/ccp4-%v/lib # # making scripts for %p/etc/profile.d mkdir -p %i/etc/profile.d # echo "source %p/share/xtal/ccp4-%v/include/ccp4.setup" > %i/etc/profile.d/ccp4.csh echo "setenv CLIB %p/lib/ccp4-%v " >> %i/etc/profile.d/ccp4.csh # echo "if [ -z \$ZSH_NAME ];then " > %i/etc/profile.d/ccp4.sh echo " source %p/share/xtal/ccp4-%v/include/ccp4.setup-sh " >> %i/etc/profile.d/ccp4.sh echo "else " >> %i/etc/profile.d/ccp4.sh echo " source %p/share/xtal/ccp4-%v/include/ccp4.setup-zsh" >> %i/etc/profile.d/ccp4.sh echo "fi " >> %i/etc/profile.d/ccp4.sh echo "export CLIB=%p/lib/ccp4-%v " >> %i/etc/profile.d/ccp4.sh # chmod a+x %i/etc/profile.d/ccp4.* # chmod a+x %i/share/xtal/ccp4-%v/ccp4i/etc/osx_ccp4_mail # # chmod a+x %i/share/xtal/ccp4-%v/etc/ccp4help # ranlib %i/lib/ccp4-%v/*.a ranlib %i/lib/ccp4-%v/**/*.a # << ################################################################################ PostInstScript: << # Make the user read the license conditions more %p/share/xtal/ccp4-%v/conditions.txt << ################################################################################ ################################################################################ SplitOff: << Package: %N-shlibs Description: CCP4 dynamic libraries Files:<< lib/ccp4-%v/*.dylib << Shlibs: << %p/lib/ccp4-%v/libccif.dylib 0.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libccp4c.dylib 0.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-ccp4.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-ccp4.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-ccp4.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-cif.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-cif.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-cif.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-cns.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-cns.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-cns.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-contrib.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-contrib.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-contrib.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-core.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-core.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-core.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-minimol.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-minimol.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-minimol.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-mmdb.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-mmdb.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-mmdb.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-mmdbold.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-mmdbold.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-mmdbold.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-phs.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-phs.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libclipper-phs.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libjwc_c.0.1.1.dylib 2.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libjwc_c.0.dylib 2.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libjwc_c.dylib 2.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libmmdb.dylib 0.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libssm.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libssm.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libssm.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libxdl_view.2.0.0.dylib 3.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libxdl_view.2.dylib 3.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libxdl_view.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libxdl_viewextra.0.0.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libxdl_viewextra.0.dylib 1.0.0 %n (>= 6.0.2-1) %p/lib/ccp4-%v/libxdl_viewextra.dylib 1.0.0 %n (>= 6.0.2-1) << DocFiles: CHANGES COPYING INSTALL INSTALL.html INSTALL.ps README PROBLEMS academic_software_licence.pdf << ################################################################################ ################################################################################ SplitOff2: << Package: %N-dev BuildDependsOnly: true Description: CCP4 static libraries and libtool files Files:<< lib/ccp4-%v/*.a lib/ccp4-%v/*.la << DocFiles: CHANGES COPYING INSTALL INSTALL.html INSTALL.ps README PROBLEMS academic_software_licence.pdf << ################################################################################ Description: Macromolecular crystallography package DescDetail: << These are the ccp4 programs compiled with gfortran instead of g77. The (currently default) g77 version does not work on intel. The hope is that this will. (With gfortran-4.2, everything compiles.) Thanks to Jack Howarth for many helpful improvements. CCP4 macromolecular crystallography suite has approximately 200 programs and utilities. This version included Clipper libraries, and ccif and phaser. If you need cctbx, please install the cctbx fink package separately. Type "ccp4help" for a summary listing of all ccp4 programs. Type "ccp4help foo" for a detailed description of program "foo." Invoke optional ccp4i gui for the first run using: sudo ccp4i Thereafter, invoke without sudo. This version compiles with the Apple Lapack/Blas framework License agreement is part of configure file -- print out form and mail in, additional comments at http://xanana.ucsc.edu/xtal/ccp4.html CCP4 files will be installed under /sw/share/xtal/ccp4-6.0.2 This revision includes all available CCP4 patches as of March 12, 2007. and new bash and zsh command completions specific to ccp4. << DocFiles: << README CHANGES COPYING PROBLEMS INSTALL INSTALL.html INSTALL.ps ccp4i_installation.html academic_software_licence.pdf academic_software_licence.ps.gz academic_software_licence.rtf << Homepage: http://www.ccp4.ac.uk License: Commercial Maintainer: W. G. Scott <[EMAIL PROTECTED]> --- NEW FILE: ccp4.patch --- diff -ruN ccp4-6.0.2-orig/ccp4i/etc/configure.def.dist ccp4-6.0.2/ccp4i/etc/configure.def.dist --- ccp4-6.0.2-orig/ccp4i/etc/configure.def.dist 2006-11-21 12:32:49.000000000 -0800 +++ ccp4-6.0.2/ccp4i/etc/configure.def.dist 2006-11-21 13:07:41.000000000 -0800 @@ -55,8 +55,8 @@ MESSAGE _text "" BLT_LIBRARY _text "" MENU_LENGTH _positiveint 25 -HYPERTEXT_VIEWER _text netscape -START_NETSCAPE _text netscape +HYPERTEXT_VIEWER _text open +START_NETSCAPE _text open O_MAPMAN _text mapman MAPMAN_MAXSIZE _positiveint 4194304 QUANTA_MBKALL _text mbkall diff -ruN ccp4-6.0.2-orig/ccp4i/etc/osx_ccp4_mail ccp4-6.0.2/ccp4i/etc/osx_ccp4_mail --- ccp4-6.0.2-orig/ccp4i/etc/osx_ccp4_mail 1969-12-31 16:00:00.000000000 -0800 +++ ccp4-6.0.2/ccp4i/etc/osx_ccp4_mail 2006-11-21 13:08:18.000000000 -0800 @@ -0,0 +1,164 @@ +#!/usr/bin/perl [...1091 lines suppressed...] cpjx the date as hh:mm:ss READ(CID,'(I2,1X,I2,1X,I2,2X)') IH(4),IH(3),IH(2) + READ(CID2,'(I4,I2,I2)') IYR,IMON,IDAY - CALL IDATE(IMON,IDAY,IYR) - IF(IYR.GE.99) THEN - IYR=IYR+1900 - ELSE - IYR=IYR+2000 - ENDIF +# CALL IDATE(IMON,IDAY,IYR) +# IF(IYR.GE.99) THEN +# IYR=IYR+1900 +# ELSE +# IYR=IYR+2000 +# ENDIF IH(5)=IDAY IH(6)=IMON IH(7)=IYR ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits