diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-04-13 12:36:51 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-04-13 12:47:28 +0900 |
commit | fa06f36cdbbe158b77e1129a1aa539047c12214f (patch) | |
tree | ee557a5e3156b1b7bbeeb00980d92bb3fab1c9f7 /sys-apps/lsb-release | |
parent | dev-java/icedtea: allow bootstrapping with orcale-jdk. (diff) | |
download | gentoo-fa06f36cdbbe158b77e1129a1aa539047c12214f.tar.gz gentoo-fa06f36cdbbe158b77e1129a1aa539047c12214f.tar.bz2 gentoo-fa06f36cdbbe158b77e1129a1aa539047c12214f.zip |
sys-apps/lsb-release: support Prefix.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'sys-apps/lsb-release')
-rw-r--r-- | sys-apps/lsb-release/lsb-release-1.4-r3.ebuild | 12 |
1 files 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 6e80c09204c1..6105ea96577a 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 } |