fixed einstall vs. emake install for eapi=6
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Sat, 7 May 2016 21:18:48 +0000 (23:18 +0200)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Sat, 7 May 2016 21:18:48 +0000 (23:18 +0200)
eclass/vdr-plugin-2.eclass

index ae09a346439bb793a53c6ff071e7d02161044fcb..65f1409018c400a1605bd9a10537d6ddc5830d06 100644 (file)
@@ -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}" \