app-text/scdoc: fix cross-compile, prefix install.
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 19 Oct 2018 09:40:33 +0000 (04:40 -0500)
committerMichał Górny <mgorny@gentoo.org>
Mon, 22 Oct 2018 20:23:20 +0000 (22:23 +0200)
commit01a332bf7081063c6524af4973fab0d319dd776c
tree584e9f8502f350b2a8f9fe018d1bbbf2465f6f28
parent3f97504dab70d44b52347ca6214d100b792d84b3
app-text/scdoc: fix cross-compile, prefix install.

Cross-compiling (tested with a crossdev musl toolchain via
`PORTAGE_CONFIGROOT=/usr/x86_64-pc-linux-musl ebuild scdoc-1.3.1.ebuild ...`
currently fails because VERSION is not defined.

Installing in prefix fails due to files being installed outside of the
prefix. Pass PREFIX="${EPREFIX}/usr" on emake call.

Tested via building with `ebuild scdoc-1.3.1.ebuild ...` while inside a
prefix.

Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-text/scdoc/scdoc-1.3.1.ebuild