summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for parallel building (ghc-7.8+). Disable dynamic library ↵Sergei Trofimovich2014-02-111-19/+40
| | | | stripping and respect --sysconfdir (Cabal-1.18+).
* Added 'replace-hcflags()'. Filters HCFLAGS.Sergei Trofimovich2013-11-201-1/+23
|
* ask user to run haskell-updater for old packages (like in bug ↵Sergei Trofimovich2013-07-291-6/+17
| | | | http://bugs.gentoo.org/474840)
* Added 'ghc-supports-smp' and 'ghc-supports-dynamic-by-default' helpers. ↵Sergei Trofimovich2013-05-111-4/+24
| | | | Added hint for users to run 'haskell-updater' if configure phase failed.
* Bug #467646 - Refer to /etc/portage/make.conf, not /etc/make.conf.Zac Medico2013-04-281-4/+4
|
* Added 'ghc-supports-threaded-runtime' function. Removed implicit RDEPEND on ↵Sergei Trofimovich2013-01-061-7/+7
| | | | 'ghc'.
* Fix error case to be more descriptive. Move 'einfo' lower to avoid empty output.Sergei Trofimovich2012-11-191-3/+4
|
* Added new helper function 'cabal_chdeps' and and debug variable ↵Sergei Trofimovich2012-11-191-1/+72
| | | | 'CABAL_DEBUG_LOOSENING' for it.
* Restore dynamic linking of Cabal's ./setup and add building of shared ↵Sergei Trofimovich2012-11-161-3/+21
| | | | libraries for ghc-7.7+.
* naive bump of all EAPI-specific checks in eclasses to permit EAPI=5 where ↵Ian Stakenvicius2012-09-271-2/+2
| | | | EAPI=4 was previously allowed
* Allow wildcards in CABAL_CORE_LIB_GHC_PV. Guard against breakage of ↵Sergei Trofimovich2012-07-081-2/+21
| | | | ghc-shipped libraries.
* Added CABAL_FEATURES=test-suite by Alexander Vershilov. It enables building ↵Sergei Trofimovich2012-04-191-1/+10
| | | | of test suites introduced in Cabal-1.8
* move 'dev-haskell/cabal' santy check out from 'pkg_*' to 'src_*' function to ↵Sergei Trofimovich2012-04-141-7/+8
| | | | allow binary installation. Reported by tamiko.
* fix -dynamic './setup configure' failures against newer libffi (bug #411789 ↵Sergei Trofimovich2012-04-141-4/+7
| | | | by Leonid Podolny)
* Remove outdated bits for <ghc-6.10 and <cabal-1.8. Switch from 'eerror' to ↵Sergei Trofimovich2012-04-091-115/+57
| | | | 'eqawarn' as suggested by Paweł Hajdan, Jr. (http://www.gossamer-threads.com/lists/gentoo/dev/251259). Install empty '.conf' files for binaries to help 'haskell-updater' pick binaries built with onder haskell toolchain on ghc upgrade.
* Drop haddock from DEPENDS when USE=doc haddock. haddock-2.9.2+ can be used ↵Sergei Trofimovich2012-03-091-2/+4
| | | | right in the ebuild phase to build it's docs.
* Added support for CABAL_EXTRA_BUILD_FLAGS and HCFLAGS magic variablesSergei Trofimovich2012-02-071-4/+16
| | | | | | | | | | | | | CABAL_EXTRA_BUILD_FLAGS allows user to pass arguments to ./setup build phase. For example you can get detailed build log this way: CABAL_EXTRA_BUILD_FLAGS=-v emerge something HCFLAGS is similar to CFLAGS / CXXFLAGS / FFLAGS in spirit. You can use it in make.conf or in one-shot merges to enable random ghc features: HCFLAGS="-O0 -Wall" emerge something-else
* Added stdout echoing of most executed phase commands. Added stub for ↵Sergei Trofimovich2012-01-201-13/+28
| | | | CABAL_USE_HSCOLOUR feature to ease ebuild syncing from haskell overlay.
* fix random bugs in eclass documentation, and convert to new @AUTHOR tagMike Frysinger2011-08-221-10/+10
|
* added CABAL_EXTRA_CONFIGURE_FLAGS variable, more tweaksSergei Trofimovich2011-05-081-23/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CABAL_EXTRA_CONFIGURE_FLAGS - variable similar to EXTRA_ECONF for econf. It appends given arguments to 'runhaskell Setup configure args' call. It's handy when one wants to pass some argument for all haskell packages, like 'CABAL_EXTRA_CONFIGURE_FLAGS=--enable-shared' to get shared variants for all haskell libraries. - GHC_BOOTSTRAP_FLAGS - ghc option when building Setup.hs. - fix CABAL_FEATURES="nocabaldep" (found by Felipe Almeida Lessa) Felipe's output for ghc-6.12.3: > $ ghc-pkg field Cabal version > version: 1.8.0.6 > version: 1.10.1.0 My output for ghc-6.12.3: > $ ghc-pkg field Cabal version >    version: 1.10.1.0 >    version: 1.8.0.6 It has unstable order and breaks dev-haskell/cairo setup. Now we always pick ghc's Cabal version (as CABAL_FROM_GHC var name says), not the most recently installed. - Setup.hs is linked dynamically where available. Drastically speedups (from tens of seconds down to seconds) link time (and the whole package build time). - src_compile() got a QA warning when passed '--flags=' argument for EAPI, where yet src_configure() (catches potential package misconfiguration)
* Added EPREFIX support. Fixed default src_configure for dummy packages ↵Sergei Trofimovich2011-03-131-26/+47
| | | | (EAPI=3 and upper).
* Make .cabal built haskell packages respect LDFLAGS envvar. Fixes bug #333217 ↵Sergei Trofimovich2010-09-121-2/+8
| | | | (and inferior bug #335591)
* Allow USE=hscolour for dev-haskell packages that haveLennart Kolmodin2010-08-071-2/+29
| | | | CABAL_FEATURES="hscolour" (none yet in portage).
* When using dummy haskell libraries, there is no test suite.Lennart Kolmodin2010-03-301-3/+7
|
* Update haskell-cabal eclass to handle EAPI=2.Lennart Kolmodin2010-03-271-5/+70
|
* haskell-cabal.eclass: Don't strip executables, let portage do it.Lennart Kolmodin2010-01-261-1/+11
|
* Properly support the CABAL_FEATURES="nocabaldep" if user doesn't have ↵Lennart Kolmodin2009-10-281-1/+17
| | | | dev-haskell/cabal
* Updating the haskell-cabal eclass to support the CABAL_FEATURES nocabaldepLennart Kolmodin2009-09-091-13/+18
| | | | | which is used in the dev-haskell/haskell-updater package. It enables packages to use the cabal eclass without depending on cabal.
* Fix (kind of harmless) typo in haskell-cabal eclass. $CABAL_UNKNONW -> ↵Lennart Kolmodin2009-07-271-2/+2
| | | | $CABAL_UNKNOWN.
* Update cabal eclass for new cabal-1.2 seriesDuncan Coutts2007-12-131-15/+72
|
* Make the haskell-cabal eclass aware of updateable core ghc libs.Lennart Kolmodin2007-08-051-12/+38
|
* Cabal profiling should not affect executables. Fix which/type -P.Lennart Kolmodin2007-07-271-3/+2
|
* Updates to ghc and cabal eclasses to go with ghc-6.6.x upgrade.Duncan Coutts2007-07-251-9/+25
|
* replaced "which" by "type -P"Andres Loeh2007-03-131-2/+2
|
* detect true rather than assume its location; should fix bug #161937Andres Loeh2007-01-151-3/+4
|
* Install HTML docs recursively. Allow to add extra flags to package ↵Andres Loeh2006-10-041-2/+6
| | | | configuration.
* Ask portage rather than ghc-pkg about which version of cabal to use.Duncan Coutts2006-08-021-2/+2
| | | | | | | | | | This way we build packages using version of cabal from portage that we tested rather than a version that the user installed. This is important as many packages are sensitive to changes in the Cabal API. Make ghc-getghc and ghc-getghcpkg functions return absolute paths and fix up one place in the haskell-cabal eclass where this had a knock-on effect this should fix bug #140589
* Reduce arch-specific conditionals to the minimum necessary (ie only ppc64).Duncan Coutts2006-03-131-4/+3
|
* Don't build GHCi libs for arches that do not support GHCi.Duncan Coutts2006-03-011-1/+6
| | | | Also building GHCi libs on ppc64 causes "TOC overflow".
* Expect one of "lib"/"bin" in CABAL_FEATURES.Duncan Coutts2006-02-161-11/+14
| | | | | Only run the registration if "lib" is set. Always expect a package file to be generated when "lib" is set.
* Add "lib" and "bin" to known CABAL_FEATURES.Duncan Coutts2006-02-161-2/+13
| | | | Also complain less about unknown values CABAL_FEATURES.
* When doing profiling, enable profiling for libs as well as executables.Duncan Coutts2005-12-051-3/+11
| | | | | Cope with packages that do not register any libs, eg cabalised ebuilds that are just straight programs (like c2hs).
* new eclass for Haskell packages that make use of the Common Architecture for ↵Andres Loeh2005-09-131-0/+201
Building Applications and Libraries (cabal)