From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/lsb-release/
Date: Fri, 13 Apr 2018 03:47:37 +0000 (UTC) [thread overview]
Message-ID: <1523591248.fa06f36cdbbe158b77e1129a1aa539047c12214f.heroxbd@gentoo> (raw)
commit: fa06f36cdbbe158b77e1129a1aa539047c12214f
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 13 03:36:51 2018 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> 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
}
next reply other threads:[~2018-04-13 3:47 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-13 3:47 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-09-28 7:47 [gentoo-commits] repo/gentoo:master commit in: sys-apps/lsb-release/ Mikle Kolyada
2018-09-30 21:38 Sergei Trofimovich
2018-09-30 22:46 Mart Raudsepp
2018-10-02 10:58 Tobias Klausmann
2018-10-02 18:32 Sergei Trofimovich
2018-10-06 22:08 Sergei Trofimovich
2018-10-06 23:47 Matt Turner
2018-10-06 23:47 Matt Turner
2018-10-17 16:27 Mikle Kolyada
2018-11-09 18:23 Mikle Kolyada
2019-10-05 8:12 Michał Górny
2019-11-07 17:57 Jeroen Roovers
2019-11-07 19:14 Thomas Deutschmann
2020-03-15 13:13 Mikle Kolyada
2021-04-21 19:02 Sam James
2021-11-06 22:07 Georgy Yakovlev
2022-07-30 8:19 Sam James
2022-09-24 5:22 Agostino Sarubbo
2022-09-24 5:22 Agostino Sarubbo
2022-09-24 5:23 Agostino Sarubbo
2022-09-24 5:23 Agostino Sarubbo
2022-09-24 5:23 Agostino Sarubbo
2022-09-24 5:24 Agostino Sarubbo
2022-09-24 5:24 Agostino Sarubbo
2022-09-26 4:16 Arthur Zamarin
2023-11-30 3:49 Sam James
2024-01-17 5:33 Sam James
2024-01-17 5:50 Sam James
2024-01-17 5:57 Sam James
2024-01-17 6:30 Arthur Zamarin
2024-01-17 6:34 Sam James
2024-01-18 0:28 Sam James
2024-01-23 4:17 Sam James
2024-01-23 5:32 Sam James
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=1523591248.fa06f36cdbbe158b77e1129a1aa539047c12214f.heroxbd@gentoo \
--to=heroxbd@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