aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2016-01-09 14:41:20 +0100
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2016-01-15 19:39:39 +0100
commit77160677af68d46ac77ca56daf5a808e3f554bba (patch)
treecd249b7177ccab933561092a2a9834349bd925e2 /paludis/repositories/e/ebuild
parentfff8a3b796153a2f5f5742cbfcfe55a31bb9ba60 (diff)
downloadpaludis-77160677af68d46ac77ca56daf5a808e3f554bba.tar.gz
paludis-77160677af68d46ac77ca56daf5a808e3f554bba.tar.xz
Ban einstall for exheres-0
Change-Id: I30a4221cec2ac5492e932eaa7ba3b9f47b6a5df3 Reviewed-on: https://galileo.mailstation.de/gerrit/4899 Reviewed-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Reviewed-by: Bo ├śrsted Andresen <zlin@exherbo.org>
Diffstat (limited to 'paludis/repositories/e/ebuild')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/build_functions.bash25
1 files changed, 1 insertions, 24 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/build_functions.bash b/paludis/repositories/e/ebuild/exheres-0/build_functions.bash
index eb23ef17c..f71045c15 100644
--- a/paludis/repositories/e/ebuild/exheres-0/build_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/build_functions.bash
@@ -165,30 +165,7 @@ econf()
einstall()
{
- if [[ "${!PALUDIS_EBUILD_PHASE_VAR}" != "install" ]] ; then
- die "einstall called in phase ${!PALUDIS_EBUILD_PHASE_VAR}"
- fi
-
- if [[ -f Makefile ]] || [[ -f makefile ]] || [[ -f GNUmakefile ]] ; then
- local makecmd=""
- type -p gmake &>/dev/null && makecmd="gmake" || makecmd="make"
- local cmd="${EINSTALL_WRAPPER} ${makecmd} prefix=${IMAGE}/usr"
- cmd="${cmd} mandir=${IMAGE}/usr/share/man"
- cmd="${cmd} infodir=${IMAGE}/usr/share/info"
- cmd="${cmd} datadir=${IMAGE}/usr/share"
- cmd="${cmd} sysconfdir=${IMAGE}/etc"
- cmd="${cmd} localstatedir=${IMAGE}/var/lib"
- cmd="${cmd} libdir=${IMAGE}/usr/${LIBDIR:-lib}"
- if [[ ${FILESYSTEM_LAYOUT} == cross ]] ; then
- cmd="${cmd} bindir=${IMAGE}/usr/$(exhost --target)/bin"
- cmd="${cmd} sbindir=${IMAGE}/usr/$(exhost --target)/bin"
- fi
- cmd="${cmd} ${@} install"
- echo "${cmd}" 1>&2
- ${cmd} || paludis_die_unless_nonfatal "einstall failed" || return 247
- else
- paludis_die_unless_nonfatal "No Makefile for einstall" || return 247
- fi
+ die "Function 'einstall' banned in this EAPI"
}
emagicdocs()