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 0A9541382C5 for ; Fri, 13 Apr 2018 03:47:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15CB4E0961; Fri, 13 Apr 2018 03:47:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E42DDE0961 for ; Fri, 13 Apr 2018 03:47:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 515B8335C75 for ; Fri, 13 Apr 2018 03:47:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6520281 for ; Fri, 13 Apr 2018 03:47:37 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1523591248.fa06f36cdbbe158b77e1129a1aa539047c12214f.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/lsb-release/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/lsb-release/lsb-release-1.4-r3.ebuild X-VCS-Directories: sys-apps/lsb-release/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: fa06f36cdbbe158b77e1129a1aa539047c12214f X-VCS-Branch: master Date: Fri, 13 Apr 2018 03:47:37 +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: 18ac8f62-1c50-49c4-81e9-517e0c47bbcc X-Archives-Hash: 1a35c989d51242f4f257713ee7441cbc commit: fa06f36cdbbe158b77e1129a1aa539047c12214f Author: Benda Xu gentoo org> AuthorDate: Fri Apr 13 03:36:51 2018 +0000 Commit: Benda XU gentoo org> CommitDate: Fri Apr 13 03:47:28 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa06f36c sys-apps/lsb-release: support Prefix. Package-Manager: Portage-2.3.28, Repoman-2.3.9 sys-apps/lsb-release/lsb-release-1.4-r3.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild b/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild index 6e80c09204c..6105ea96577 100644 --- a/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild +++ b/sys-apps/lsb-release/lsb-release-1.4-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils +inherit eutils prefix DESCRIPTION="LSB version query program" HOMEPAGE="https://wiki.linuxfoundation.org/lsb/" @@ -23,16 +23,18 @@ src_prepare() { -e "s:echo -e:printf '%b\\\n':g" \ -e 's:--long:-l:g' \ lsb_release || die + + hprefixify lsb_release } src_install() { emake \ - prefix="${D}/usr" \ - mandir="${D}/usr/share/man" \ + prefix="${ED}/usr" \ + mandir="${ED}/usr/share/man" \ install dodir /etc - cat > "${D}/etc/lsb-release" <<- EOF + cat > "${ED}/etc/lsb-release" <<- EOF DISTRIB_ID="Gentoo" EOF }