Diff xsb-3.6.0 with a xsb-3.6.0-r1

/usr/portage/dev-lang/xsb/xsb-3.6.0-r1.ebuild 2019-02-08 23:09:00.000000000 +0300
1
# Copyright 1999-2017 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=6
5 5

  
6 6
MY_P="XSB${PV//./}"
7 7

  
8 8
PATCHSET_VER="4"
9 9

  
10
inherit eutils autotools java-pkg-opt-2
10
inherit autotools java-pkg-opt-2
11 11

  
12 12
DESCRIPTION="XSB is a logic programming and deductive database system"
13 13
HOMEPAGE="http://xsb.sourceforge.net"
......
16 16

  
17 17
LICENSE="GPL-2 LGPL-2"
18 18
SLOT="0"
19
KEYWORDS="amd64 x86"
19
KEYWORDS="~amd64 ~x86"
20 20
IUSE="curl debug iodbc java mysql odbc pcre threads xml"
21 21

  
22 22
RDEPEND="curl? ( net-misc/curl )
23 23
	iodbc? ( dev-db/libiodbc )
24 24
	java? ( >=virtual/jdk-1.4:= )
25
	mysql? ( virtual/mysql )
25
	mysql? ( dev-db/mysql-connector-c:0= )
26 26
	odbc? ( dev-db/unixODBC )
27 27
	pcre? ( dev-libs/libpcre )
28 28
	xml? ( dev-libs/libxml2 )"
......
31 31

  
32 32
S="${WORKDIR}"/XSB
33 33

  
34
src_prepare() {
35
	EPATCH_FORCE=yes
36
	EPATCH_SUFFIX=patch
37
	epatch "${WORKDIR}"/${PV}
34
PATCHES=( "${WORKDIR}/${PV}" )
38 35

  
36
src_prepare() {
37
	default
39 38
	cd "${S}"/build
40 39
	eautoconf
41 40
}
......
59 58

  
60 59
	if use mysql ; then
61 60
		cd "${S}"/packages/dbdrivers/mysql
62
		econf
61
		econf --with-mysql-libdir=$(mysql_config --variable=pkglibdir)
63 62
	fi
64 63

  
65 64
	if use odbc ; then
......
81 80
src_compile() {
82 81
	cd "${S}"/build
83 82

  
84
	emake
83
	default
85 84

  
86 85
	# All XSB Packages are compiled using a single Prolog engine.
87 86
	# Consequently they must all be compiled using a single make job.
......
113 112

  
114 113
src_install() {
115 114
	cd "${S}"/build
116
	emake DESTDIR="${D}" install
115
	default
117 116

  
118 117
	local XSB_INSTALL_DIR=/usr/$(get_libdir)/xsb-${PV}
119 118
	dosym ${XSB_INSTALL_DIR}/bin/xsb /usr/bin/xsb
Thank you!