diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-03-26 19:58:33 +0100 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-04-14 19:02:38 +0300 |
commit | b45d8bedc653828a0f72654a83fa7441b03622b9 (patch) | |
tree | b8df390d1ad4e07813e678a72ba32e0c4b119180 /dev-lang | |
parent | sci-libs/spr: EAPI8 bump, fix bug #851021 (diff) | |
download | gentoo-b45d8bedc653828a0f72654a83fa7441b03622b9.tar.gz gentoo-b45d8bedc653828a0f72654a83fa7441b03622b9.tar.bz2 gentoo-b45d8bedc653828a0f72654a83fa7441b03622b9.zip |
dev-lang/gprolog: EAPI8 bump, minor improvements
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/35933
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/gprolog/gprolog-1.5.0-r1.ebuild (renamed from dev-lang/gprolog/gprolog-1.5.0.ebuild) | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/dev-lang/gprolog/gprolog-1.5.0.ebuild b/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild index e5959b8c30f4..29233aa9547b 100644 --- a/dev-lang/gprolog/gprolog-1.5.0.ebuild +++ b/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit autotools flag-o-matic toolchain-funcs -DESCRIPTION="A native Prolog compiler with constraint solving over finite domains (FD)" +DESCRIPTION="Native Prolog compiler with constraint solving over finite domains (FD)" HOMEPAGE="http://www.gprolog.org/" SRC_URI="http://www.gprolog.org/${P}.tar.gz" S="${WORKDIR}"/${P} @@ -25,12 +25,12 @@ PATCHES=( src_prepare() { default - cd "${S}"/src + cd "${S}"/src || die eautoconf } src_configure() { - CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`" + CFLAGS_MACHINE="$(get-flag -march) $(get-flag -mcpu) $(get-flag -mtune)" use debug && append-flags -DDEBUG @@ -52,16 +52,18 @@ src_configure() { fi cd "${S}"/src || die - econf \ - AS="${AS}" \ - CFLAGS_MACHINE="${CFLAGS_MACHINE}" \ - --with-c-flags="${CFLAGS}" \ - --with-install-dir="${EPREFIX}"/usr/$(get_libdir)/${P} \ - --with-links-dir="${EPREFIX}"/usr/bin \ - --enable-regs=${gprolog_use_regs} \ - $(use_with doc doc-dir "${EPREFIX}"/usr/share/doc/${PF}) \ - $(use_with doc html-dir "${EPREFIX}"/usr/share/doc/${PF}/html) \ + local myeconfargs=( + AS="${AS}" + CFLAGS_MACHINE="${CFLAGS_MACHINE}" + --with-c-flags="${CFLAGS}" + --with-install-dir="${EPREFIX}"/usr/$(get_libdir)/${P} + --with-links-dir="${EPREFIX}"/usr/bin + --enable-regs=${gprolog_use_regs} + $(use_with doc doc-dir "${EPREFIX}"/usr/share/doc/${PF}) + $(use_with doc html-dir "${EPREFIX}"/usr/share/doc/${PF}/html) $(use_with examples examples-dir "${EPREFIX}"/usr/share/doc/${PF}/examples) + ) + econf "${myeconfargs[@]}" } src_compile() { |