diff options
Diffstat (limited to 'sys-apps/less')
-rw-r--r-- | sys-apps/less/ChangeLog | 3 | ||||
-rw-r--r-- | sys-apps/less/less-445-r1.ebuild | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys-apps/less/ChangeLog b/sys-apps/less/ChangeLog index b2bbef18..dc63d293 100644 --- a/sys-apps/less/ChangeLog +++ b/sys-apps/less/ChangeLog @@ -4,6 +4,9 @@ *less-445-r1.ebuild (10 Nov 2011) + 12 May 2012; Martin Väth <martin@mvath.de> + base->eutils + 15 Apr 2012; Martin Väth <martin@mvath.de> Inherit base diff --git a/sys-apps/less/less-445-r1.ebuild b/sys-apps/less/less-445-r1.ebuild index 37b6d405..a1439181 100644 --- a/sys-apps/less/less-445-r1.ebuild +++ b/sys-apps/less/less-445-r1.ebuild @@ -3,7 +3,7 @@ # $Header $ EAPI="4" -inherit base +inherit eutils DESCRIPTION="Excellent text file viewer, optionally with additional selection feature" PATCHN="less-select" @@ -31,14 +31,10 @@ src_unpack() { if use less-select then unpack ${PATCHBALL} cd *"${PATCHN}"-* - SELECTDIR="${PWD}" + SELECTDIR=${PWD} fi } -PATCHES=( - "${FILESDIR}"/code2color.patch -) - src_prepare() { if use less-select then epatch "${SELECTDIR}/patches/less-${PATCHVER}-select.patch" || die @@ -46,7 +42,8 @@ src_prepare() { sed -i -e 's|\([^a-zA-Z]\)/etc/less-select-key.bin|\1'"${EPREFIX%/}"'/etc/less/select-key.bin|g' \ "${SELECTDIR}/bin/less-select" || die fi - base_src_prepare + epatch "${FILESDIR}"/code2color.patch + epatch_user } src_configure() { |