public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/
Date: Thu, 13 May 2021 10:43:28 +0000 (UTC)	[thread overview]
Message-ID: <1620902471.db01e788666a794dd6746686a7810efe59b75816.gyakovlev@gentoo> (raw)

commit:     db01e788666a794dd6746686a7810efe59b75816
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu May 13 09:58:55 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu May 13 10:41:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db01e788

app-emulation/runc: fix variables

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-emulation/runc/runc-1.0.0_rc10-r1.ebuild | 14 ++++++++------
 app-emulation/runc/runc-1.0.0_rc92.ebuild    | 14 ++++++++------
 app-emulation/runc/runc-1.0.0_rc93.ebuild    | 16 +++++++++-------
 3 files changed, 25 insertions(+), 19 deletions(-)

diff --git a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild
index 9f60bd86db1..0a433baafd1 100644
--- a/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild
+++ b/app-emulation/runc/runc-1.0.0_rc10-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -40,9 +40,9 @@ RESTRICT+=" test"
 
 src_compile() {
 	# Taken from app-emulation/docker-1.7.0-r1
-	export CGO_CFLAGS="-I${ROOT}/usr/include"
+	export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
 	export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-		-L${ROOT}/usr/$(get_libdir)"
+		-L${ESYSROOT}/usr/$(get_libdir)"
 
 	# build up optional flags
 	local options=(
@@ -54,11 +54,8 @@ src_compile() {
 	)
 
 	myemakeargs=(
-		BINDIR="${ED}/usr/bin"
 		BUILDTAGS="${options[*]}"
 		COMMIT=${RUNC_COMMIT}
-		DESTDIR="${ED}"
-		PREFIX="${ED}/usr"
 		GOPATH="${S}"
 		-C "src/${EGO_PN}"
 	)
@@ -67,6 +64,11 @@ src_compile() {
 }
 
 src_install() {
+	myemakeargs+=(
+		PREFIX="${ED}/usr"
+		BINDIR="${ED}/usr/bin"
+		MANDIR="${ED}/usr/share/man"
+	)
 	emake "${myemakeargs[@]}" install install-man install-bash
 
 	local DOCS=( src/"${EGO_PN}"/{README.md,PRINCIPLES.md,docs/.} )

diff --git a/app-emulation/runc/runc-1.0.0_rc92.ebuild b/app-emulation/runc/runc-1.0.0_rc92.ebuild
index fe79682ba08..35e4c457ae5 100644
--- a/app-emulation/runc/runc-1.0.0_rc92.ebuild
+++ b/app-emulation/runc/runc-1.0.0_rc92.ebuild
@@ -42,9 +42,9 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 src_compile() {
 	# Taken from app-emulation/docker-1.7.0-r1
-	export CGO_CFLAGS="-I${ROOT}/usr/include"
+	export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
 	export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-		-L${ROOT}/usr/$(get_libdir)"
+		-L${ESYSROOT}/usr/$(get_libdir)"
 
 	# build up optional flags
 	local options=(
@@ -56,17 +56,19 @@ src_compile() {
 	)
 
 	myemakeargs=(
-		BINDIR="${ED}/usr/bin"
 		BUILDTAGS="${options[*]}"
-		COMMIT=${RUNC_COMMIT}
-		DESTDIR="${ED}"
-		PREFIX="${ED}/usr"
+		COMMIT="${RUNC_COMMIT}"
 	)
 
 	emake "${myemakeargs[@]}" runc man
 }
 
 src_install() {
+	myemakeargs+=(
+		PREFIX="${ED}/usr"
+		BINDIR="${ED}/usr/bin"
+		MANDIR="${ED}/usr/share/man"
+	)
 	emake "${myemakeargs[@]}" install install-man install-bash
 
 	local DOCS=( README.md PRINCIPLES.md docs/. )

diff --git a/app-emulation/runc/runc-1.0.0_rc93.ebuild b/app-emulation/runc/runc-1.0.0_rc93.ebuild
index f89d4a1ce27..316f720fc29 100644
--- a/app-emulation/runc/runc-1.0.0_rc93.ebuild
+++ b/app-emulation/runc/runc-1.0.0_rc93.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -42,9 +42,9 @@ S="${WORKDIR}/${PN}-${MY_PV}"
 
 src_compile() {
 	# Taken from app-emulation/docker-1.7.0-r1
-	export CGO_CFLAGS="-I${ROOT}/usr/include"
+	export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
 	export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
-		-L${ROOT}/usr/$(get_libdir)"
+		-L${ESYSROOT}/usr/$(get_libdir)"
 
 	# build up optional flags
 	local options=(
@@ -54,17 +54,19 @@ src_compile() {
 	)
 
 	myemakeargs=(
-		BINDIR="/usr/bin"
 		BUILDTAGS="${options[*]}"
-		COMMIT=${RUNC_COMMIT}
-		DESTDIR="${ED}"
-		PREFIX="/usr"
+		COMMIT="${RUNC_COMMIT}"
 	)
 
 	emake "${myemakeargs[@]}" runc man
 }
 
 src_install() {
+	myemakeargs+=(
+		PREFIX="${ED}/usr"
+		BINDIR="${ED}/usr/bin"
+		MANDIR="${ED}/usr/share/man"
+	)
 	emake "${myemakeargs[@]}" install install-man install-bash
 
 	local DOCS=( README.md PRINCIPLES.md docs/. )


             reply	other threads:[~2021-05-13 10:43 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 10:43 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-19 22:09 [gentoo-commits] repo/gentoo:master commit in: app-emulation/runc/ William Hubbs
2021-12-14  8:55 Georgy Yakovlev
2021-10-06 16:49 William Hubbs
2021-10-06  1:19 Georgy Yakovlev
2021-10-06  1:19 Georgy Yakovlev
2021-10-06  1:16 William Hubbs
2021-10-05 20:44 William Hubbs
2021-10-05 19:09 William Hubbs
2021-08-13  2:09 Yixun Lan
2021-07-26 21:25 Georgy Yakovlev
2021-07-26  2:14 Sam James
2021-07-24 17:20 Sam James
2021-07-23 17:58 Sam James
2021-07-20  2:44 Georgy Yakovlev
2021-06-14  0:31 Georgy Yakovlev
2021-06-13 22:38 Sam James
2021-06-11 16:27 William Hubbs
2021-06-11  1:00 Georgy Yakovlev
2021-06-10 21:53 William Hubbs
2021-05-16 12:45 Sam James
2021-05-13 10:43 Georgy Yakovlev
2021-04-28 16:44 Mikle Kolyada
2021-03-06 20:13 William Hubbs
2021-01-04 23:10 William Hubbs
2020-11-10 21:33 Georgy Yakovlev
2020-11-10 21:33 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-09-24  0:09 Georgy Yakovlev
2020-09-24  0:09 Georgy Yakovlev
2020-09-23 15:26 William Hubbs
2020-09-22 23:18 Georgy Yakovlev
2020-08-31 21:03 Thomas Deutschmann
2020-04-04  7:06 Robin H. Johnson
2020-03-15  3:51 Thomas Deutschmann
2020-03-14 22:53 William Hubbs
2020-03-14 22:49 William Hubbs
2020-03-04 17:07 William Hubbs
2020-02-06  5:06 William Hubbs
2019-10-07  9:23 Manuel Rüger
2019-10-07  9:23 Manuel Rüger
2019-06-04 16:58 Manuel Rüger
2019-04-26 10:40 Manuel Rüger
2019-04-23 12:42 Manuel Rüger
2019-03-29 14:35 Manuel Rüger
2019-03-28 14:41 Manuel Rüger
2019-03-28 14:41 Manuel Rüger
2019-03-01 13:42 Manuel Rüger
2019-02-11 19:33 Manuel Rüger
2019-02-11 19:33 Manuel Rüger
2019-02-11 19:33 Manuel Rüger
2019-02-11 17:45 Manuel Rüger
2019-02-11 17:45 Manuel Rüger
2019-01-10 13:14 Manuel Rüger
2018-12-11 10:11 Manuel Rüger
2018-11-25 14:27 Manuel Rüger
2018-07-19 15:31 Manuel Rüger
2018-07-19 13:29 Manuel Rüger
2018-06-04 19:25 Mart Raudsepp
2018-05-15 12:16 Manuel Rüger
2018-04-10  1:13 Manuel Rüger
2018-04-06 22:03 Manuel Rüger
2018-03-10 21:09 Doug Goldstein
2018-02-27 22:10 Manuel Rüger
2018-02-13 14:22 Manuel Rüger
2018-02-13 14:22 Manuel Rüger
2017-11-05 20:51 Manuel Rüger
2017-10-12 19:01 Manuel Rüger
2017-03-28  1:04 Manuel Rüger
2017-02-24 10:27 Manuel Rüger
2017-02-23 14:59 Manuel Rüger
2017-02-06 14:31 Manuel Rüger
2017-01-12 11:16 Aaron Bauman
2017-01-11 11:36 Manuel Rüger
2016-12-18  1:06 Manuel Rüger
2016-12-18  1:06 Manuel Rüger
2016-11-26  5:46 William Hubbs
2016-11-19 22:00 William Hubbs
2016-11-19 19:49 William Hubbs
2016-11-18 17:35 William Hubbs
2016-11-09 19:25 William Hubbs
2016-11-09 18:38 William Hubbs
2016-10-04 23:04 William Hubbs
2016-07-11 19:47 Anthony G. Basile
2016-06-23 19:45 William Hubbs
2016-06-20 16:09 William Hubbs
2016-04-27  8:24 Agostino Sarubbo
2016-04-19 23:15 Doug Goldstein
2015-12-07 18:18 Robin H. Johnson
2015-12-07  5:16 Doug Goldstein

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=1620902471.db01e788666a794dd6746686a7810efe59b75816.gyakovlev@gentoo \
    --to=gyakovlev@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