-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit flag-o-matic eutils libtool
+EAPI=6
+inherit flag-o-matic libtool
DESCRIPTION="A thesaurus lib, tool and database"
HOMEPAGE="https://sourceforge.net/projects/aiksaurus"
DEPEND="${RDEPEND}
gtk? ( virtual/pkgconfig )"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc43.patch #214248
+PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )
+src_prepare() {
+ default
# Needed to make relink work on FreeBSD, without it won't install.
# Also needed for a sane .so versionning there.
elibtoolize
src_install() {
emake DESTDIR="${D}" install || die
- dodoc AUTHORS README* ChangeLog
}