From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/yap/
Date: Fri, 8 Feb 2019 21:41:48 +0000 (UTC) [thread overview]
Message-ID: <1549662090.afb3bb43ccde05954fbcaee62eb1cddbba3670a4.grknight@gentoo> (raw)
commit: afb3bb43ccde05954fbcaee62eb1cddbba3670a4
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 8 21:41:30 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Feb 8 21:41:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb3bb43
dev-lang/yap: Fix dependency, QA error and update EAPI
Non-maintainer commit
Bug: https://bugs.gentoo.org/665872
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-lang/yap/yap-6.3.3-r1.ebuild | 124 +++++++++++++++++++++++++++++++++++++++
1 file changed, 124 insertions(+)
diff --git a/dev-lang/yap/yap-6.3.3-r1.ebuild b/dev-lang/yap/yap-6.3.3-r1.ebuild
new file mode 100644
index 00000000000..fd653ef2926
--- /dev/null
+++ b/dev-lang/yap/yap-6.3.3-r1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic java-pkg-opt-2
+
+PATCHSET_VER="11"
+
+DESCRIPTION="YAP is a high-performance Prolog compiler"
+HOMEPAGE="http://www.dcc.fc.up.pt/~vsc/Yap/"
+SRC_URI="http://www.dcc.fc.up.pt/~vsc/Yap/${P}.tar.gz
+ mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
+
+LICENSE="Artistic LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="R debug doc examples gmp java mpi mysql odbc readline static threads"
+
+RDEPEND="sys-libs/zlib
+ gmp? ( dev-libs/gmp:0 )
+ java? ( >=virtual/jdk-1.4:= )
+ mpi? ( virtual/mpi )
+ mysql? ( dev-db/mysql-connector-c:0= )
+ odbc? ( dev-db/unixODBC )
+ readline? ( sys-libs/readline:= sys-libs/ncurses:= )
+ R? ( dev-lang/R )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-text/texi2html )"
+
+PATCHES=( "${WORKDIR}"/${PV} )
+
+src_prepare() {
+ default
+ rm -rf "${S}"/yap || die "failed to remove yap xcode project"
+
+ # Fix QA error on doc location
+ local mFile
+ for mFile in Makefile.in packages/Dialect.defs.in \
+ $(find packages -name Makefile.in) ; do
+ sed -i -e "s~doc/Yap~doc/${PF}~" "${mFile}" || die
+ done
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+
+ local myddas_conf
+ if use mysql || use odbc; then
+ myddas_conf="--enable-myddas"
+ else
+ myddas_conf="--disable-myddas"
+ fi
+ if use mysql; then
+ myddas_conf="$myddas_conf yap_with_mysql=yes"
+ fi
+ if use odbc; then
+ myddas_conf="$myddas_conf yap_with_odbc=yes"
+ fi
+
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --disable-prism \
+ --disable-gecode \
+ $(use_enable !static dynamic-loading) \
+ $(use_enable threads) \
+ $(use_enable threads pthread-locking) \
+ $(use_enable debug debug-yap) \
+ $(use_enable debug low-level-tracer) \
+ $(use_with gmp) \
+ $(use_with readline) \
+ $(use_with mpi) \
+ $(use_with mpi mpe) \
+ $(use_with java) \
+ $(use_with R) \
+ ${myddas_conf}
+}
+
+src_compile() {
+ default
+
+ if use doc ; then
+ emake html
+ fi
+}
+
+src_test() {
+ # libtai package contains check.c which confuses the default
+ # src_test() function
+ true
+}
+
+src_install() {
+ default
+
+ dodoc changes*.html README
+
+ if use doc ; then
+ dodoc yap.html
+ fi
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples/chr
+ doins packages/chr/Examples/*
+ insinto /usr/share/doc/${PF}/examples/clib
+ doins packages/clib/demo/*
+ insinto /usr/share/doc/${PF}/examples/http
+ doins -r packages/http/examples/*
+ insinto /usr/share/doc/${PF}/examples/plunit
+ doins packages/plunit/examples/*
+ if use java ; then
+ insinto /usr/share/doc/${PF}/examples/jpl/prolog
+ doins packages/jpl/examples/prolog/*
+ insinto /usr/share/doc/${PF}/examples/jpl/java
+ doins packages/jpl/examples/java/README
+ doins -r packages/jpl/examples/java/*/*.{java,pl}
+ fi
+ if use mpi ; then
+ insinto /usr/share/doc/${PF}/examples/mpi
+ doins library/mpi/examples/*.pl
+ fi
+ fi
+}
next reply other threads:[~2019-02-08 21:41 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-08 21:41 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-20 20:26 [gentoo-commits] repo/gentoo:master commit in: dev-lang/yap/ Andreas Sturmlechner
2024-10-20 22:46 Sam James
2024-08-14 5:19 Eli Schwartz
2024-08-14 5:19 Eli Schwartz
2024-08-14 5:19 Eli Schwartz
2024-08-14 5:19 Eli Schwartz
2022-05-27 16:34 Keri Harris
2022-05-21 6:11 Keri Harris
2022-01-23 15:13 Keri Harris
2022-01-22 9:27 Keri Harris
2022-01-22 8:19 Keri Harris
2022-01-22 8:17 Keri Harris
2021-12-11 14:33 Keri Harris
2021-12-11 6:51 Keri Harris
2021-12-10 17:24 Keri Harris
2021-06-26 12:11 Keri Harris
2021-05-28 15:57 David Seifert
2021-05-24 10:08 Keri Harris
2021-05-15 15:17 Keri Harris
2021-05-02 8:00 Keri Harris
2021-01-18 15:58 Keri Harris
2021-01-07 18:51 Keri Harris
2021-01-07 13:40 Keri Harris
2021-01-07 7:38 Keri Harris
2021-01-07 0:58 Sam James
2020-09-21 9:32 Keri Harris
2020-09-20 16:00 Keri Harris
2020-09-20 15:22 Keri Harris
2020-05-11 18:24 Keri Harris
2019-11-06 17:19 Keri Harris
2019-08-11 21:30 Thomas Deutschmann
2019-08-03 12:27 Keri Harris
2018-09-18 1:09 Matt Turner
2018-07-16 7:39 Keri Harris
2018-07-14 17:24 Keri Harris
2017-01-08 9:42 Keri Harris
2017-01-01 12:43 Agostino Sarubbo
2016-12-21 22:54 Thomas Deutschmann
2016-10-06 12:41 Keri Harris
2016-07-21 16:29 Keri Harris
2016-07-21 15:34 Keri Harris
2016-03-16 13:29 Keri Harris
2016-03-16 10:31 Keri Harris
2016-03-11 17:17 Keri Harris
2016-03-10 21:04 Keri Harris
2016-03-04 14:59 Keri Harris
2016-03-03 11:21 Keri Harris
2016-02-20 12:09 Keri Harris
2016-02-14 14:14 Keri Harris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1549662090.afb3bb43ccde05954fbcaee62eb1cddbba3670a4.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox