From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/suacomp/
Date: Wed, 3 Jan 2018 18:39:09 +0000 (UTC) [thread overview]
Message-ID: <1515004641.ee89960c8665621a824df0b1ca142d67d662d2e3.soap@gentoo> (raw)
commit: ee89960c8665621a824df0b1ca142d67d662d2e3
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 3 18:37:21 2018 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan 3 18:37:21 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee89960c
sys-libs/suacomp: Port to git-r3
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sys-libs/suacomp/suacomp-9999.ebuild | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/sys-libs/suacomp/suacomp-9999.ebuild b/sys-libs/suacomp/suacomp-9999.ebuild
index c40821304da..b356312ab40 100644
--- a/sys-libs/suacomp/suacomp-9999.ebuild
+++ b/sys-libs/suacomp/suacomp-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
-inherit toolchain-funcs flag-o-matic git-2
+inherit flag-o-matic toolchain-funcs git-r3
DESCRIPTION="library wrapping the interix lib-c to make it less buggy"
HOMEPAGE="http://suacomp.sf.net"
@@ -11,7 +11,6 @@ EGIT_REPO_URI="https://git.code.sf.net/p/suacomp/git"
LICENSE="BEER-WARE"
SLOT="0"
-KEYWORDS=""
IUSE="debug"
DEPEND=""
@@ -21,9 +20,11 @@ get_opts() {
local shlibc=
local stlibc=
+ local dir
for dir in /usr/lib /usr/lib/x86; do
[[ -f ${dir}/libc.a ]] && stlibc=${dir}/libc.a
+ local name
for name in libc.so.5.2 libc.so.3.5; do
[[ -f ${dir}/${name} ]] && { shlibc=${dir}/${name}; break; }
done
@@ -34,7 +35,7 @@ get_opts() {
echo "SHARED_LIBC=${shlibc} STATIC_LIBC=${stlibc}"
}
-pkg_setup() {
+src_configure() {
if use debug; then
append-flags -D_DEBUG -D_DEBUG_TRACE
fi
@@ -44,11 +45,6 @@ src_compile() {
emake all CC=$(tc-getCC) $(get_opts) CFLAGS="${CFLAGS}"
}
-src_install() {
- emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" $(get_opts) \
- CFLAGS="${CFLAGS}"
-}
-
src_test() {
local v=
@@ -57,3 +53,8 @@ src_test() {
emake check $(get_opts) ${v}
}
+
+src_install() {
+ emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" $(get_opts) \
+ CFLAGS="${CFLAGS}"
+}
next reply other threads:[~2018-01-03 18:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 18:39 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-03 18:39 [gentoo-commits] repo/gentoo:master commit in: sys-libs/suacomp/ David Seifert
2017-06-13 13:10 Michael Haubenwallner
2017-05-15 21:28 Manuel Rüger
2017-02-25 15:03 Patrice Clement
2017-01-29 20:14 Fabian Groffen
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=1515004641.ee89960c8665621a824df0b1ca142d67d662d2e3.soap@gentoo \
--to=soap@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