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 123781382C5 for ; Mon, 29 Jan 2018 15:46:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AB9DE0B47; Mon, 29 Jan 2018 15:45:59 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 39692E0B47 for ; Mon, 29 Jan 2018 15:45:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E0A11335C83 for ; Mon, 29 Jan 2018 15:45:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 618ED1D5 for ; Mon, 29 Jan 2018 15:45:56 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1517240591.16e25f1f2105543e5c0a4725623966b9a50d3ec4.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/su-exec/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/su-exec/su-exec-0.2.ebuild X-VCS-Directories: app-admin/su-exec/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 16e25f1f2105543e5c0a4725623966b9a50d3ec4 X-VCS-Branch: master Date: Mon, 29 Jan 2018 15:45:56 +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-Archives-Salt: aa1adb00-f22a-44b2-9c41-dfc8a71c7f37 X-Archives-Hash: 729ba94593ad142b8794306bb60565db commit: 16e25f1f2105543e5c0a4725623966b9a50d3ec4 Author: Manuel Rüger gentoo org> AuthorDate: Mon Jan 29 15:42:38 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Jan 29 15:43:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16e25f1f app-admin/su-exec: Add support for static build Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-admin/su-exec/su-exec-0.2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-admin/su-exec/su-exec-0.2.ebuild b/app-admin/su-exec/su-exec-0.2.ebuild index 4a1e1f1eab6..f51e2f258af 100644 --- a/app-admin/su-exec/su-exec-0.2.ebuild +++ b/app-admin/su-exec/su-exec-0.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/ncopa/su-exec/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="static" src_prepare() { default @@ -20,10 +20,10 @@ src_prepare() { } src_compile() { - CC=$(tc-getCC) emake + CC=$(tc-getCC) emake $(usex static "${PN}-static" "") } src_install() { - dobin ${PN} + newbin ${PN}$(usex static "-static" "") ${PN} dodoc README.md }