summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2016-05-07 23:18:48 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2016-05-07 23:18:48 +0200
commit66afcab271f65b97330e610040ad3acc1b812a03 (patch)
tree30d09d30781e7a9b4a114d6d067832ad392afc78 /eclass
parentnet-analyzer/netsniff-ng: Version bump (thanks Manuel Rüger). (diff)
downloadgentoo-66afcab271f65b97330e610040ad3acc1b812a03.tar.gz
gentoo-66afcab271f65b97330e610040ad3acc1b812a03.tar.bz2
gentoo-66afcab271f65b97330e610040ad3acc1b812a03.zip
fixed einstall vs. emake install for eapi=6
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vdr-plugin-2.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass
index ae09a346439b..65f1409018c4 100644
--- a/eclass/vdr-plugin-2.eclass
+++ b/eclass/vdr-plugin-2.eclass
@@ -571,7 +571,11 @@ vdr-plugin-2_src_install() {
local SOFILE_STRING=$(grep SOFILE Makefile)
if [[ -n ${SOFILE_STRING} ]]; then
BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-install }}
- einstall ${BUILD_PARAMS} \
+ if [[ ${EAPI} == 6 ]]; then
+ emake install ${BUILD_PARAMS} \
+ else
+ einstall ${BUILD_PARAMS} \
+ fi
${BUILD_TARGETS} \
TMPDIR="${T}" \
DESTDIR="${D}" \