New version for cfitsio: 3.006, with interesting features. The slightly updated ebuild, metadata.xml and ChangeLog are in the overlay: http://gentooscience.org/browser/overlay/sci-libs/cfitsio
cfitsio was updated in portage while leaving this bug open. The version mentioned above now contains a proper autotoolization.
cfitsio-3.060 in main tree.