From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 252F7138334 for ; Sat, 29 Dec 2018 14:19:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2EA95E0A5C; Sat, 29 Dec 2018 14:19:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1B15E0A5C for ; Sat, 29 Dec 2018 14:19:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DE76335C58 for ; Sat, 29 Dec 2018 14:19:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4918B4CE for ; Sat, 29 Dec 2018 14:19:20 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1546092974.9c32100f86e54afbb5f1867b123ad141093c01f1.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gambit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/gambit/gambit-4.8.8-r2.ebuild X-VCS-Directories: dev-scheme/gambit/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 9c32100f86e54afbb5f1867b123ad141093c01f1 X-VCS-Branch: master Date: Sat, 29 Dec 2018 14:19:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: aae5b10e-09fa-48ec-a0e2-0b525151ac40 X-Archives-Hash: 347b057e03abb53afd257b8776761f8b commit: 9c32100f86e54afbb5f1867b123ad141093c01f1 Author: Stefan Strogin gmail com> AuthorDate: Thu Sep 20 16:04:45 2018 +0000 Commit: Amy Liffey gentoo org> CommitDate: Sat Dec 29 14:16:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c32100f dev-scheme/gambit: revbump to add USE libressl Closes: https://bugs.gentoo.org/666629 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9929 Signed-off-by: Stefan Strogin gmail.com> Signed-off-by: Amy Liffey gentoo.org> dev-scheme/gambit/gambit-4.8.8-r2.ebuild | 64 ++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/dev-scheme/gambit/gambit-4.8.8-r2.ebuild b/dev-scheme/gambit/gambit-4.8.8-r2.ebuild new file mode 100644 index 00000000000..d8fd8612bfc --- /dev/null +++ b/dev-scheme/gambit/gambit-4.8.8-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils elisp-common + +MY_PV="${PV//./_}" +MY_P="${PN}-v${MY_PV}" + +DESCRIPTION="Gambit-C is a native Scheme to C compiler and interpreter" +HOMEPAGE="http://www.iro.umontreal.ca/~gambit/" +SRC_URI="http://www-labs.iro.umontreal.ca/~gambit/download/gambit/v${PV%.*}/source/${MY_P}.tgz" + +LICENSE="|| ( Apache-2.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" + +RDEPEND="ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND=" + ${RDEPEND} + emacs? ( virtual/emacs ) +" + +SITEFILE="50gambit-gentoo.el" + +S="${WORKDIR}/${MY_P}" #-devel + +IUSE="emacs libressl ssl static" + +src_configure() { + econf $(use_enable !static shared) \ + $(use_enable ssl openssl) \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-gnu-gcc-specific-options \ + --enable-gnu-gcc-no-strict-aliasing \ + --enable-single-host \ + --disable-absolute-shared-libs \ + --enable-type-checking +} + +src_compile() { + emake bootstrap + + if use emacs; then + elisp-compile misc/*.el || die + fi +} + +src_install() { + emake DESTDIR="${D}" install + keepdir /usr/share/"${MY_PN}" +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}