public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/star/
Date: Wed, 21 Nov 2018 10:54:34 +0000 (UTC)	[thread overview]
Message-ID: <1542797666.e733bac105ec79e7ef2d9bc1bb820f2a884d0426.polynomial-c@gentoo> (raw)

commit:     e733bac105ec79e7ef2d9bc1bb820f2a884d0426
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 21 10:53:21 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Nov 21 10:54:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e733bac1

app-arch/star: Revbump to add dependency on sys-libs/libcap

Also bumped ebuild to EAPI-7
Bumped straight to stable.

Closes: https://bugs.gentoo.org/628070
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../{star-1.5.3.ebuild => star-1.5.3-r1.ebuild}    | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/app-arch/star/star-1.5.3.ebuild b/app-arch/star/star-1.5.3-r1.ebuild
similarity index 87%
rename from app-arch/star/star-1.5.3.ebuild
rename to app-arch/star/star-1.5.3-r1.ebuild
index f841e026ddc..480ce97a432 100644
--- a/app-arch/star/star-1.5.3.ebuild
+++ b/app-arch/star/star-1.5.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="An enhanced (world's fastest) tar, as well as enhanced mt/rmt"
 HOMEPAGE="http://s-tar.sourceforge.net/"
@@ -15,13 +15,16 @@ KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linu
 IUSE="acl xattr"
 
 DEPEND="
+	sys-libs/libcap
 	acl? ( sys-apps/acl )
 	xattr? ( sys-apps/attr )"
 RDEPEND="${DEPEND}"
 
-S=${WORKDIR}/${P/_alpha[0-9][0-9]}
+S="${WORKDIR}/${P/_alpha[0-9][0-9]}"
 
 src_prepare() {
+	default
+
 	find -type f -exec chmod -c u+w '{}' + || die
 	sed \
 		-e "s:/opt/schily:${EPREFIX}/usr:g" \
@@ -33,15 +36,21 @@ src_prepare() {
 	if use acl; then
 		sed \
 			-e 's:[$]ac_cv_header_sys_acl_h:disable acl:' \
-			-i "${S}/autoconf/configure" || die
+			-i autoconf/configure || die
 	fi
 
 	if use xattr; then
 		sed \
 			-e 's:[$]ac_cv_header_attr_xattr_h:disable xattr:' \
-			-i "${S}/autoconf/configure" || die
+			-i autoconf/configure || die
 	fi
 
+	# "echo -n" is not POSIX compliant
+	sed \
+		-e 's@echo $ac_n@printf@' \
+		-e '/printf/s@$ac_c@@g' \
+		-i autoconf/configure || die
+
 	# Create additional symlinks needed for some archs.
 	pushd "${S}/RULES" > /dev/null
 	local t
@@ -56,6 +65,7 @@ src_configure() { :; } #avoid ./configure run
 
 src_compile() {
 	emake \
+		GMAKE_NOWARN="true" \
 		CC="$(tc-getCC)" \
 		COPTX="${CFLAGS}" \
 		CPPOPTX="${CPPFLAGS}" \


             reply	other threads:[~2018-11-21 10:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-21 10:54 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-21 11:27 [gentoo-commits] repo/gentoo:master commit in: app-arch/star/ Agostino Sarubbo
2015-09-06 13:25 Agostino Sarubbo
2015-08-09 16:49 Mikle Kolyada

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=1542797666.e733bac105ec79e7ef2d9bc1bb820f2a884d0426.polynomial-c@gentoo \
    --to=polynomial-c@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