Diff emech-3.0.3-r1 with a emech-3.0.99_p3

/usr/portage/net-irc/emech/emech-3.0.99_p3.ebuild 2018-03-22 01:38:00.000000000 +0300
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2018 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=6
5 5

  
6
inherit eutils readme.gentoo toolchain-funcs
6
inherit readme.gentoo-r1 toolchain-funcs
7 7

  
8 8
DESCRIPTION="UNIX compatible IRC bot programmed in the C language"
9 9
HOMEPAGE="http://www.energymech.net/"
10
SRC_URI="http://www.energymech.net/files/${P}.tar.gz"
10
SRC_URI="http://www.energymech.net/files/${P/_/}.tar.gz"
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14
KEYWORDS="amd64 ppc x86"
14
KEYWORDS="~amd64 ~ppc ~x86"
15 15

  
16 16
IUSE="debug session tcl"
17
S="${WORKDIR}/${P/_/}"
17 18

  
18 19
DOC_CONTENTS="You can find a compressed sample config file at /usr/share/doc/${PF}"
19 20

  
20 21
src_prepare() {
22
	eapply "${FILESDIR}/${P}-buildfix.patch"
23

  
21 24
	sed -i \
22 25
		-e 's: "help/":"/usr/share/energymech/help/":' \
23 26
		-e 's: "messages/":"/usr/share/energymech/messages/":' \
......
29 32
		-e '/^PIPEFLAG/d' \
30 33
		src/Makefile.in || die
31 34

  
32
	epatch_user
35
	eapply_user
33 36
}
34 37

  
35 38
myconf() {
Thank you!