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 21EAB138359 for ; Fri, 18 Sep 2020 16:54:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C0BDE0815; Fri, 18 Sep 2020 16:53:59 +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 2D461E0815 for ; Fri, 18 Sep 2020 16:53:59 +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 62507340A98 for ; Fri, 18 Sep 2020 16:53:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB919361 for ; Fri, 18 Sep 2020 16:53:55 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1600448027.c6d894c8d748b3d402e3880239204919c3c97804.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ufconfig/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/ufconfig/ufconfig-3.7.1.ebuild X-VCS-Directories: sci-libs/ufconfig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c6d894c8d748b3d402e3880239204919c3c97804 X-VCS-Branch: master Date: Fri, 18 Sep 2020 16:53:55 +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: a346c908-9fff-4de2-8343-3722c401dd97 X-Archives-Hash: d3d78d0b4ce98b1c98d9d68ce16c744a commit: c6d894c8d748b3d402e3880239204919c3c97804 Author: Sam James gentoo org> AuthorDate: Fri Sep 18 16:53:47 2020 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 18 16:53:47 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d894c8 sci-libs/ufconfig: port to EAPI 7 Closes: https://bugs.gentoo.org/740972 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James gentoo.org> sci-libs/ufconfig/ufconfig-3.7.1.ebuild | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/sci-libs/ufconfig/ufconfig-3.7.1.ebuild b/sci-libs/ufconfig/ufconfig-3.7.1.ebuild index 0481ccd35d9..4298dfb1fab 100644 --- a/sci-libs/ufconfig/ufconfig-3.7.1.ebuild +++ b/sci-libs/ufconfig/ufconfig-3.7.1.ebuild @@ -1,35 +1,39 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit multilib toolchain-funcs +EAPI=7 + +inherit toolchain-funcs MY_PN=UFconfig DESCRIPTION="Common configuration scripts for the SuiteSparse libraries" HOMEPAGE="http://www.cise.ufl.edu/research/sparse/UFconfig" SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" IUSE="static-libs" -DEPEND="" - -S="${WORKDIR}/${MY_PN}" src_compile() { - echo "$(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo" + elog "Running: $(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo" $(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo || die + local sharedlink="-shared -Wl,-soname,libufconfig$(get_libname ${PV})" - [[ ${CHOST} == *-darwin* ]] && \ + if [[ ${CHOST} == *-darwin* ]]; then sharedlink="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libufconfig$(get_libname ${PV})" - echo "$(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${PV}) UFconfig.lo" + fi + + elog "Running: $(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${PV}) UFconfig.lo" $(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${PV}) UFconfig.lo || die + if use static-libs; then - echo "$(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o" + elog "Running: $(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o" $(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o || die - echo "$(tc-getAR) libufconfig.a UFconfig.o" - $(tc-getAR) cr libufconfig.a UFconfig.o + + elog "Running: $(tc-getAR) libufconfig.a UFconfig.o" + $(tc-getAR) cr libufconfig.a UFconfig.o || die fi }