summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-06-29 15:58:45 +0200
committerTupone Alfredo <tupone@gentoo.org>2018-06-29 15:58:45 +0200
commit531c16725904c0e1629c4d41c7a11cbc916cdc0a (patch)
treed2d2bfbed3c4e35d4947f8b2d860322255ecfdc8 /dev-ada
parentnet-misc/curl: fix generated libcurl.pc when not using ssl (diff)
downloadgentoo-531c16725904c0e1629c4d41c7a11cbc916cdc0a.tar.gz
gentoo-531c16725904c0e1629c4d41c7a11cbc916cdc0a.tar.bz2
gentoo-531c16725904c0e1629c4d41c7a11cbc916cdc0a.zip
dev-ada/gnatcoll-bindings: Fix used C compiler
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
index 23c577d4818c..4cc7fcaf6a9b 100644
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
@@ -33,8 +33,13 @@ S="${WORKDIR}"/${MYP}-src
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_compile() {
+ if use gnat_2017; then
+ GCC_VER=6.3.0
+ else
+ GCC_VER=7.3.1
+ fi
build () {
- GCC=${CHOST}-gcc-7.3.1 gprbuild -j$(makeopts_jobs) -m -p -v \
+ GCC=${CHOST}-gcc-${GCC_VER} gprbuild -j$(makeopts_jobs) -m -p -v \
-XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \
-XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \
-XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \