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 D17B3139694 for ; Tue, 27 Jun 2017 10:03:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 285AE25402F; Tue, 27 Jun 2017 10:03:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC08D25402F for ; Tue, 27 Jun 2017 10:03:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D7A9A3416E6 for ; Tue, 27 Jun 2017 10:03:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E6637480 for ; Tue, 27 Jun 2017 10:03:19 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1498557794.f1c6faac806833ebf5b8cfe56a207dc70c8524eb.nimiux@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ffcall/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/ffcall/Manifest dev-libs/ffcall/ffcall-1.13.ebuild dev-libs/ffcall/metadata.xml X-VCS-Directories: dev-libs/ffcall/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: f1c6faac806833ebf5b8cfe56a207dc70c8524eb X-VCS-Branch: master Date: Tue, 27 Jun 2017 10:03:19 +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-Archives-Salt: f3c90074-a64c-4e3e-8414-ddb3165270a7 X-Archives-Hash: 47d9dd48208a9b069639293e7ea0f631 commit: f1c6faac806833ebf5b8cfe56a207dc70c8524eb Author: Chema Alonso Josa gentoo org> AuthorDate: Tue Jun 27 10:02:50 2017 +0000 Commit: José María Alonso gentoo org> CommitDate: Tue Jun 27 10:03:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c6faac dev-libs/ffcall: Bumps version to 1.13. Updates metadata Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-libs/ffcall/Manifest | 1 + dev-libs/ffcall/ffcall-1.13.ebuild | 76 ++++++++++++++++++++++++++++++++++++++ dev-libs/ffcall/metadata.xml | 5 ++- 3 files changed, 81 insertions(+), 1 deletion(-) diff --git a/dev-libs/ffcall/Manifest b/dev-libs/ffcall/Manifest index efd1fbe85f4..f724210eedf 100644 --- a/dev-libs/ffcall/Manifest +++ b/dev-libs/ffcall/Manifest @@ -1,2 +1,3 @@ DIST clisp-2.41.tar.bz2 8319471 SHA256 1e5f8d9b04024ae072536ae3271075c1a422c02d3997a729a6b00912ed2ae323 SHA512 638417834cc8b81a893ea98801d8ec3f6e591062bf799a1462fc36ceb3fa0107eb1c55e335cd32e1f9d931692e806d0c59c7557cfaf3af9cb00349b715111489 WHIRLPOOL aaa8a42627621ffc19e527634f0a0f769ffb804132ab29cbe4ca592db03cc10621b968f279f5ba2a92018e16c617f34ddf2ddfbb9993e30b54c8bce643af307a DIST ffcall-1.10.tar.gz 914870 SHA256 6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d SHA512 dceb620907adae5bbbb52cf2d0b0c829242ad22adceb3186b7a887b7ba49e28b607c30179de6b5a0c46a90bd52f9963ce503ca0c69bc3ecf41e3556df094ddca WHIRLPOOL 8f90c8415197ff6d0176b3e95fe8455c0f242264666749ca8228c83df5275fb8c2404a218d0b5170386ad022bc729014cb81b11570e29855305a9efdbfb769d3 +DIST libffcall-1.13.tar.gz 985185 SHA256 1707ce707dbbf57f1bbe9aa56929c0da866046b0d5a26eb0d96d9f0bb29bbce7 SHA512 c059fa89eb3e85bad22d045de074bfc88fae42454821e10905ffd67209b6e6ea44eeab120b869696f77b816aacb9a5af3e4b51c640512e876df1b6da6f296bd4 WHIRLPOOL e79a5eaa0a6d15f81ecac2848dbd57cfc7f05551fbeaacd57b532c07d00778c48834377d3f04a2fedf6009b947786bada1d85ac95e0b7f6a5865981f22fd73a3 diff --git a/dev-libs/ffcall/ffcall-1.13.ebuild b/dev-libs/ffcall/ffcall-1.13.ebuild new file mode 100644 index 00000000000..e2514f4f1ea --- /dev/null +++ b/dev-libs/ffcall/ffcall-1.13.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic toolchain-funcs + +MY_PV="libffcall-${PV}" + +DESCRIPTION="foreign function call libraries" +HOMEPAGE="https://www.gnu.org/software/libffcall/" +SRC_URI="http://ftp.gnu.org/gnu/libffcall/${MY_PV}.tar.gz" + +# "Ffcall is under GNU GPL. As a special exception, if used in GNUstep +# or in derivate works of GNUstep, the included parts of ffcall are +# under GNU LGPL." -ffcall author +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/${MY_PV} + +DEPEND="" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-make-jN.patch + + # The build system is a strange mix of autogenerated + # files and manual tweaks on top. Uses $CFLAGS / $LDFLAGS randomly. + # We are adding them consistently here and a bit over the top: + # bugs: #334581 + + for mfi in {,*/,*/*/,}Makefile.in + do + elog "Patching '${mfi}'" + # usually uses only assembler here, but -march= + # and -Wa, are a must to pass here. + sed -e 's/$(CC) /&$(CFLAGS) /g' \ + -i "${mfi}" || die + + # usually uses '$(CC) ... -o something' for linking + sed -e 's/\($(CC) .* \)-o /\1 $(LDFLAGS) -o /g' \ + -i "${mfi}" || die + done + eapply_user +} + +src_configure() { + append-flags -fPIC + append-flags $(test-flags-CC -Wa,--noexecstack) #253963 + + # Doc goes in datadir + econf \ + --datadir="${EPREFIX}"/usr/share/doc/${PF} \ + --enable-shared \ + --disable-static +} + +src_compile() { + # Because CHOST is set to (for example) + # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which + # doesn't work in the Makefile (29 Jan 2004 agriffis) + local cpu_setting + [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha' + + emake ${cpu_setting} +} + +src_install() { + dodoc NEWS README + dodir /usr/share/man + default + prune_libtool_files +} diff --git a/dev-libs/ffcall/metadata.xml b/dev-libs/ffcall/metadata.xml index 21c840b3448..5b705d07482 100644 --- a/dev-libs/ffcall/metadata.xml +++ b/dev-libs/ffcall/metadata.xml @@ -1,7 +1,10 @@ - + + common-lisp@gentoo.org + Gentoo Common Lisp Project + ffcall - foreign function call libraries This is a collection of four libraries which can be used to build foreign