Then:

   sudo port uninstall cfitsio
   sudo port -s install cfitsio