sys-apps/baselayout: handle Prefix-related paths more robustly.
authorBenda Xu <heroxbd@gentoo.org>
Mon, 4 Sep 2017 06:16:45 +0000 (15:16 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 4 Sep 2017 06:27:34 +0000 (15:27 +0900)
commitd129d916465c0ddb7a67f12c3e928be4a25da214
tree0ecdbd711fccd63484ea5f200c85a23b9c7f1d1c
parent36c48e29867d7460dd5a9da1ca198ed6e97238e6
sys-apps/baselayout: handle Prefix-related paths more robustly.

  commit 6d45b94abca08b1c124e11 fails with a corner case that EPREFIX
  contains substring /usr.  This commit fix it by using the well tested
  hprefixify from prefix.eclass.

  Also apply hprefix to other files to simplify the ebuild.  Tested on
  both Prefix and vanilla Gentoo.

  Move the host PATHs to /etc/env.d/99host.

  For Prefix, ROOTPATH will always be used, because it is almost a single
  user system.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
sys-apps/baselayout/baselayout-2.4.1-r2.ebuild [new file with mode: 0644]