public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/tapi/
Date: Fri, 29 Dec 2017 20:30:50 +0000 (UTC)	[thread overview]
Message-ID: <1514579429.353da60003022823a64948adc2662bf75e91679a.grobian@gentoo> (raw)

commit:     353da60003022823a64948adc2662bf75e91679a
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 20:30:29 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 20:30:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=353da600

sys-libs/tapi: simplify by using S

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/tapi/tapi-2.0.0.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/sys-libs/tapi/tapi-2.0.0.ebuild b/sys-libs/tapi/tapi-2.0.0.ebuild
index 586bd1d95c2..a789277cf7a 100644
--- a/sys-libs/tapi/tapi-2.0.0.ebuild
+++ b/sys-libs/tapi/tapi-2.0.0.ebuild
@@ -61,10 +61,7 @@ CLANG_S="${WORKDIR}"/${CLANG_P}.src
 
 APPLE_LLVM_S="${WORKDIR}/${APPLE_LLVM_P}"/src
 
-TAPI_S="${WORKDIR}"/${TAPI_P}
-
-# to avoid ebuild dying
-S=${WORKDIR}
+S="${WORKDIR}"/${TAPI_P}
 
 TAPI_BUILD="${WORKDIR}"/${P}_build
 
@@ -88,7 +85,7 @@ src_prepare() {
 	CMAKE_USE_DIR="${PWD}" \
 		cmake-utils_src_prepare
 
-	cd "${TAPI_S}" || die
+	cd "${S}" || die
 	eapply "${FILESDIR}"/${PN}-2.0.0-standalone.patch
 	CMAKE_USE_DIR="${PWD}" \
 		cmake-utils_src_prepare
@@ -147,7 +144,7 @@ src_configure() {
 		-DOBJCMETADATA_LIBRARY_DIRS="${OBJCMD_ROOT}"/lib
 	)
 
-	cd "${TAPI_S}" || die
+	cd "${S}" || die
 	BUILD_DIR="${TAPI_BUILD}/" \
 		CMAKE_USE_DIR="${PWD}" \
 		cmake-utils_src_configure
@@ -170,7 +167,7 @@ src_compile() {
 		${CMAKE_MAKEFILE_GENERATOR} install
 
 	# finally build tapi
-	cd "${TAPI_S}" || die
+	cd "${S}" || die
 	BUILD_DIR="${TAPI_BUILD}" \
 		CMAKE_USE_DIR="${PWD}" \
 		cmake-utils_src_compile


             reply	other threads:[~2017-12-29 20:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-29 20:30 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-06 15:35 [gentoo-commits] repo/gentoo:master commit in: sys-libs/tapi/ 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=1514579429.353da60003022823a64948adc2662bf75e91679a.grobian@gentoo \
    --to=grobian@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