diff options
author | Sam James <sam@gentoo.org> | 2023-03-24 03:45:46 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-03-26 13:35:57 +0200 |
commit | 0405d3ececd990f4ba1bfd625c336c2f290f2e53 (patch) | |
tree | 5d366a653dbada99559205fbd8da8c8bb4eaf16a /eclass/haskell-cabal.eclass | |
parent | gstreamer-meson.eclass: fix spelling (diff) | |
download | gentoo-0405d3ececd990f4ba1bfd625c336c2f290f2e53.tar.gz gentoo-0405d3ececd990f4ba1bfd625c336c2f290f2e53.tar.bz2 gentoo-0405d3ececd990f4ba1bfd625c336c2f290f2e53.zip |
haskell-cabal.eclass: fix spelling
Thanks to codespell.
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r-- | eclass/haskell-cabal.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index 917c4dd5206e..82f423a199c4 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -26,11 +26,11 @@ # nocabaldep -- don't add dependency on cabal. # only used for packages that _must_ not pull the dependency # on cabal, but still use this eclass (e.g. haskell-updater). -# ghcdeps -- constraint dependency on package to ghc onces +# ghcdeps -- constraint dependency on package to ghc once # only used for packages that use libghc internally and _must_ # not pull upper versions # test-suite -- add support for cabal test-suites (introduced in Cabal-1.8) -# rebuild-after-doc-workaround -- enable doctest test failue workaround. +# rebuild-after-doc-workaround -- enable doctest test failure workaround. # Symptom: when `./setup haddock` is run in a `build-type: Custom` # package it might cause cause the test-suite to fail with # errors like: @@ -516,7 +516,7 @@ cabal-configure() { cabalconf+=(--verbose) # We build shared version of our Cabal where ghc ships it's shared - # version of it. We will link ./setup as dynamic binary againt Cabal later. + # version of it. We will link ./setup as dynamic binary against Cabal later. [[ ${CATEGORY}/${PN} == "dev-haskell/cabal" ]] && \ $(ghc-supports-shared-libraries) && \ cabalconf+=(--enable-shared) @@ -882,8 +882,8 @@ cabal_chdeps() { # @FUNCTION: cabal-constraint # @DESCRIPTION: -# Allowes to set contraint to the libraries that are -# used by specified package +# Allows to set constraints to the libraries that are used by the +# specified package. cabal-constraint() { while read p v ; do echo "--constraint \"$p == $v\"" |