sys-libs/libcap-ng: prefix support

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Guilherme Amadio
2018-03-19 14:09:05 +01:00
parent f03651c5e1
commit ffe9a35a54

View File

@@ -22,6 +22,13 @@ DEPEND="${RDEPEND}
sys-kernel/linux-headers
python? ( >=dev-lang/swig-2 )"
src_prepare() {
default
if use prefix ; then
sed -i "s@cat /usr@cat ${EPREFIX}/usr@" bindings/python*/Makefile.am || die
fi
}
src_configure() {
use sparc && replace-flags -O? -O0