Files
gentoo/dev-haskell/language-c/language-c-0.8.3-r1.ebuild
Sergei Trofimovich 294d3baca2 dev-haskell/language-c: handle gcc-11's #line 0 macros
Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/788298
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2021-05-05 09:04:58 +01:00

42 lines
921 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.9999
#hackport: flags: -allwarnings,+separatesyb,+usebytestrings,+splitbase,+iecfpextension
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Analysis and generation of C code"
HOMEPAGE="http://visq.github.io/language-c/"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-haskell/syb:=[profile?]
>=dev-lang/ghc-7.10.1:=
"
DEPEND="${RDEPEND}
dev-haskell/alex
>=dev-haskell/cabal-1.22.2.0
dev-haskell/happy
"
PATCHES=(
"${FILESDIR}"/${PN}-0.8.3-gcc-11.patch
)
src_configure() {
haskell-cabal_src_configure \
--flag=-allwarnings \
--flag=iecfpextension \
--flag=separatesyb \
--flag=splitbase \
--flag=usebytestrings
}