Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Disable building dynamic libraris by default before-ghc-7.10 (was ↵ | Sergei Trofimovich | 2015-04-04 | 1 | -4/+3 |
| | | | | accidentally enabled in a previous revision). Fixes bug #545174 by Toralf Förster. | ||||
* | Enable building dynamic haskell executables since dev-lang/ghc-7.10.1_rc3. | Sergei Trofimovich | 2015-03-28 | 1 | -3/+9 |
| | |||||
* | Respect CFLAGS. New syntax for revisions CABAL_CORE_LIB_GHC_PV="PM:${ghc_PVR}". | Sergei Trofimovich | 2015-03-15 | 1 | -7/+21 |
| | |||||
* | Properly disable USE=hoogle. | Sergei Trofimovich | 2015-01-02 | 1 | -2/+2 |
| | |||||
* | Add support for ghc-7.10 registration. User visible changes: ghc-package ↵ | Sergei Trofimovich | 2015-01-01 | 1 | -35/+86 |
| | | | | stopped exporting pkg_* phases and now they are reexported by haskell-cabal. pkg_* phases do not install any additional files anymore. | ||||
* | Disable QA warning on '--with-compiler' passed by 'dev-haskell/cabal' (bug ↵ | Sergei Trofimovich | 2014-06-27 | 1 | -3/+4 |
| | | | | #515360 by Patrick Lauer). | ||||
* | Disable QA warning on '--with-hc --with-hc-pkg --with-gcc' flags passed by ↵ | Sergei Trofimovich | 2014-06-27 | 1 | -2/+5 |
| | | | | 'dev-haskell/cabal' to every configure-based haskell package. Don't unset LANG/LC_ALL/LC_MESSAGES anymore. | ||||
* | cabal_chdeps() now defaults to MY_PN (autogenerated by hackport) if exists, ↵ | Sergei Trofimovich | 2014-05-22 | 1 | -15/+17 |
| | | | | then to PN | ||||
* | Add support for parallel building (ghc-7.8+). Disable dynamic library ↵ | Sergei Trofimovich | 2014-02-11 | 1 | -19/+40 |
| | | | | stripping and respect --sysconfdir (Cabal-1.18+). | ||||
* | Added 'replace-hcflags()'. Filters HCFLAGS. | Sergei Trofimovich | 2013-11-20 | 1 | -1/+23 |
| | |||||
* | ask user to run haskell-updater for old packages (like in bug ↵ | Sergei Trofimovich | 2013-07-29 | 1 | -6/+17 |
| | | | | http://bugs.gentoo.org/474840) | ||||
* | Added 'ghc-supports-smp' and 'ghc-supports-dynamic-by-default' helpers. ↵ | Sergei Trofimovich | 2013-05-11 | 1 | -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 Medico | 2013-04-28 | 1 | -4/+4 |
| | |||||
* | Added 'ghc-supports-threaded-runtime' function. Removed implicit RDEPEND on ↵ | Sergei Trofimovich | 2013-01-06 | 1 | -7/+7 |
| | | | | 'ghc'. | ||||
* | Fix error case to be more descriptive. Move 'einfo' lower to avoid empty output. | Sergei Trofimovich | 2012-11-19 | 1 | -3/+4 |
| | |||||
* | Added new helper function 'cabal_chdeps' and and debug variable ↵ | Sergei Trofimovich | 2012-11-19 | 1 | -1/+72 |
| | | | | 'CABAL_DEBUG_LOOSENING' for it. | ||||
* | Restore dynamic linking of Cabal's ./setup and add building of shared ↵ | Sergei Trofimovich | 2012-11-16 | 1 | -3/+21 |
| | | | | libraries for ghc-7.7+. | ||||
* | naive bump of all EAPI-specific checks in eclasses to permit EAPI=5 where ↵ | Ian Stakenvicius | 2012-09-27 | 1 | -2/+2 |
| | | | | EAPI=4 was previously allowed | ||||
* | Allow wildcards in CABAL_CORE_LIB_GHC_PV. Guard against breakage of ↵ | Sergei Trofimovich | 2012-07-08 | 1 | -2/+21 |
| | | | | ghc-shipped libraries. | ||||
* | Added CABAL_FEATURES=test-suite by Alexander Vershilov. It enables building ↵ | Sergei Trofimovich | 2012-04-19 | 1 | -1/+10 |
| | | | | of test suites introduced in Cabal-1.8 | ||||
* | move 'dev-haskell/cabal' santy check out from 'pkg_*' to 'src_*' function to ↵ | Sergei Trofimovich | 2012-04-14 | 1 | -7/+8 |
| | | | | allow binary installation. Reported by tamiko. | ||||
* | fix -dynamic './setup configure' failures against newer libffi (bug #411789 ↵ | Sergei Trofimovich | 2012-04-14 | 1 | -4/+7 |
| | | | | by Leonid Podolny) | ||||
* | Remove outdated bits for <ghc-6.10 and <cabal-1.8. Switch from 'eerror' to ↵ | Sergei Trofimovich | 2012-04-09 | 1 | -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 Trofimovich | 2012-03-09 | 1 | -2/+4 |
| | | | | right in the ebuild phase to build it's docs. | ||||
* | Added support for CABAL_EXTRA_BUILD_FLAGS and HCFLAGS magic variables | Sergei Trofimovich | 2012-02-07 | 1 | -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 Trofimovich | 2012-01-20 | 1 | -13/+28 |
| | | | | CABAL_USE_HSCOLOUR feature to ease ebuild syncing from haskell overlay. | ||||
* | fix random bugs in eclass documentation, and convert to new @AUTHOR tag | Mike Frysinger | 2011-08-22 | 1 | -10/+10 |
| | |||||
* | added CABAL_EXTRA_CONFIGURE_FLAGS variable, more tweaks | Sergei Trofimovich | 2011-05-08 | 1 | -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 Trofimovich | 2011-03-13 | 1 | -26/+47 |
| | | | | (EAPI=3 and upper). | ||||
* | Make .cabal built haskell packages respect LDFLAGS envvar. Fixes bug #333217 ↵ | Sergei Trofimovich | 2010-09-12 | 1 | -2/+8 |
| | | | | (and inferior bug #335591) | ||||
* | Allow USE=hscolour for dev-haskell packages that have | Lennart Kolmodin | 2010-08-07 | 1 | -2/+29 |
| | | | | CABAL_FEATURES="hscolour" (none yet in portage). | ||||
* | When using dummy haskell libraries, there is no test suite. | Lennart Kolmodin | 2010-03-30 | 1 | -3/+7 |
| | |||||
* | Update haskell-cabal eclass to handle EAPI=2. | Lennart Kolmodin | 2010-03-27 | 1 | -5/+70 |
| | |||||
* | haskell-cabal.eclass: Don't strip executables, let portage do it. | Lennart Kolmodin | 2010-01-26 | 1 | -1/+11 |
| | |||||
* | Properly support the CABAL_FEATURES="nocabaldep" if user doesn't have ↵ | Lennart Kolmodin | 2009-10-28 | 1 | -1/+17 |
| | | | | dev-haskell/cabal | ||||
* | Updating the haskell-cabal eclass to support the CABAL_FEATURES nocabaldep | Lennart Kolmodin | 2009-09-09 | 1 | -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 Kolmodin | 2009-07-27 | 1 | -2/+2 |
| | | | | $CABAL_UNKNOWN. | ||||
* | Update cabal eclass for new cabal-1.2 series | Duncan Coutts | 2007-12-13 | 1 | -15/+72 |
| | |||||
* | Make the haskell-cabal eclass aware of updateable core ghc libs. | Lennart Kolmodin | 2007-08-05 | 1 | -12/+38 |
| | |||||
* | Cabal profiling should not affect executables. Fix which/type -P. | Lennart Kolmodin | 2007-07-27 | 1 | -3/+2 |
| | |||||
* | Updates to ghc and cabal eclasses to go with ghc-6.6.x upgrade. | Duncan Coutts | 2007-07-25 | 1 | -9/+25 |
| | |||||
* | replaced "which" by "type -P" | Andres Loeh | 2007-03-13 | 1 | -2/+2 |
| | |||||
* | detect true rather than assume its location; should fix bug #161937 | Andres Loeh | 2007-01-15 | 1 | -3/+4 |
| | |||||
* | Install HTML docs recursively. Allow to add extra flags to package ↵ | Andres Loeh | 2006-10-04 | 1 | -2/+6 |
| | | | | configuration. | ||||
* | Ask portage rather than ghc-pkg about which version of cabal to use. | Duncan Coutts | 2006-08-02 | 1 | -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 Coutts | 2006-03-13 | 1 | -4/+3 |
| | |||||
* | Don't build GHCi libs for arches that do not support GHCi. | Duncan Coutts | 2006-03-01 | 1 | -1/+6 |
| | | | | Also building GHCi libs on ppc64 causes "TOC overflow". | ||||
* | Expect one of "lib"/"bin" in CABAL_FEATURES. | Duncan Coutts | 2006-02-16 | 1 | -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 Coutts | 2006-02-16 | 1 | -2/+13 |
| | | | | Also complain less about unknown values CABAL_FEATURES. | ||||
* | When doing profiling, enable profiling for libs as well as executables. | Duncan Coutts | 2005-12-05 | 1 | -3/+11 |
| | | | | | Cope with packages that do not register any libs, eg cabalised ebuilds that are just straight programs (like c2hs). |