id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,difficulty,ghcversion,platform
170,pkg-config uses a more general version scheme,duncan,,"From {{{HsOpenSSL.cabal}}}

{{{
  --PkgConfig-Depends: openssl >= 0.9.7l
  -- We really should use this instead of the configure 
  -- script but Cabal 1.2.2.0 can't handle the weird version
  -- scheme of OpenSSL.
}}}

For example:

{{{
$ pkg-config --modversion openssl
0.9.8f
}}}

Currently Cabal tries to map pkg-config versions to the standard {{{Version}}} type which only allows for a sequence of numbers.

pkg-config uses just strings to represent package versions. It uses code lifted from rpm to compare version strings. See the {{{compare_versions}}} function in {{{pkg-gconfig-0.22/pkg.c}}} from http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz",defect,new,normal,,Cabal library,1.8.0.6,normal,,,gtener@… hackage.haskell.org@…,normal,6.10.4,Linux
