Source: haskell-clocked Version: 0.4.1.3-1 Severity: important Tags: patch Hi,
haskell-clocked does not compile on the two non-Linux architectures so far in Debian, i.e. kFreeBSD and Hurd. The issue is that the .cabal file does not add the PkgConfig-Depends on QtCore, so the Qt4 headers are not found. Attached there is a patch to refactor the QtCore dependencies in clocked.cabal, making sure that PkgConfig-Depends is used for all the architectures different than mingw and darwin. (It's my first patch to .cabal files, so do not be surprised if I could have done something wrong -- available to eventually fix, of course.) Thanks, -- Pino
--- a/clocked.cabal +++ b/clocked.cabal @@ -51,13 +51,15 @@ Library extra-libraries: stdc++ - if os(linux) - PkgConfig-Depends: - QtCore if os(mingw32) extra-libraries: QtCore4 - if os(darwin) - frameworks: - QtCore + else { + if os(darwin) + frameworks: + QtCore + else + PkgConfig-Depends: + QtCore + }