summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-05-17 06:24:21 +0000
committerArthur Zamarin <arthurzam@gentoo.org>2024-05-17 06:24:25 +0000
commit6b199d5490c623ed16a62d5e19c1e6e11a0c6297 (patch)
treeceacca00b06b56bf898aca6c73c0b22c151d009d /dev-lang/gprolog
parentdev-lang/gprolog: unkeyword ppc (diff)
downloadgentoo-6b199d5490c623ed16a62d5e19c1e6e11a0c6297.tar.gz
gentoo-6b199d5490c623ed16a62d5e19c1e6e11a0c6297.tar.bz2
gentoo-6b199d5490c623ed16a62d5e19c1e6e11a0c6297.zip
dev-lang/gprolog: drop 1.4.5, EAPI6--
Closes: https://bugs.gentoo.org/931919 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r--dev-lang/gprolog/Manifest1
-rw-r--r--dev-lang/gprolog/gprolog-1.4.5.ebuild85
2 files changed, 0 insertions, 86 deletions
diff --git a/dev-lang/gprolog/Manifest b/dev-lang/gprolog/Manifest
index c39f0b3c5d47..a1f25fe789db 100644
--- a/dev-lang/gprolog/Manifest
+++ b/dev-lang/gprolog/Manifest
@@ -1,2 +1 @@
-DIST gprolog-1.4.5.tar.gz 3587361 BLAKE2B c0c73ce249d7c26b914a3f831c6ac93aeb884bded6c5ebbe51223f0685de0be2e746533aade1633a953b93e88a30796fa52ecd5e609d05bc051363cbf34e0477 SHA512 425103bc9e5bdbdb4ae331f5be0cf49524fbdb4f5e2809fb973360de9e7ad9935c1b28f3603e0be696a647153d9f0d3dacdc87251098ac99faf7d0b3c652fc60
DIST gprolog-1.5.0.tar.gz 3813899 BLAKE2B e1d82393f122f37b1e139732c1b954b8a407feac4973b56c2e39dcf907424acca67bd10ea0e833ebbd6764a47b075911a29e05b51c37d3751a5d5fc751a08789 SHA512 7ef1a3555ffa58d3fb0db2b55ffc1d00868021f0f9f3d63dd1f43b5b833e6e00ecc74abfc0573828a3d53f20c134dffaf7fe79ab21b3e16dccfca8c73b5dfb8d
diff --git a/dev-lang/gprolog/gprolog-1.4.5.ebuild b/dev-lang/gprolog/gprolog-1.4.5.ebuild
deleted file mode 100644
index c842dc66a4ea..000000000000
--- a/dev-lang/gprolog/gprolog-1.4.5.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic toolchain-funcs
-
-DESCRIPTION="A 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}
-
-LICENSE="|| ( GPL-2+ LGPL-3+ )"
-SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="debug doc examples"
-
-PATCHES=(
- "${FILESDIR}"/${P}-ldflags.patch
- "${FILESDIR}"/${P}-links.patch
- "${FILESDIR}"/${P}-nodocs.patch
- "${FILESDIR}"/${P}-txt-file.patch
- "${FILESDIR}"/${P}-check-boot.patch
- "${FILESDIR}"/${P}-llvm-as.patch
-)
-
-src_prepare() {
- default
-
- cd "${S}"/src
- eautoconf
-}
-
-src_configure() {
- CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`"
-
- # Work around -fno-common (GCC 10 default), bug #71202
- append-flags -fcommon
-
- append-flags -fno-strict-aliasing
- use debug && append-flags -DDEBUG
-
- if tc-enables-pie; then
- # gplc generates its own native ASM; disable PIE
- append-ldflags -no-pie
- fi
-
- if tc-is-gcc && ! use x86; then
- gprolog_use_regs=yes
- else
- gprolog_use_regs=no
- fi
-
- cd "${S}"/src || die
- econf \
- 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)
-}
-
-src_compile() {
- cd "${S}"/src || die
-
- # gprolog is compiled using gplc which cannot be run in parallel
- emake -j1
-}
-
-src_test() {
- cd "${S}"/src || die
-
- emake -j1 check
-}
-
-src_install() {
- cd "${S}"/src || die
- emake DESTDIR="${D}" install
-
- cd "${S}" || die
- dodoc ChangeLog NEWS PROBLEMS README
-}