[cvs-nhc98] patch applied (hat): Switch between old pkg.conf and new .cabal file format for versions of ghc.