Skip to content

Commit

Permalink
app-i18n/scim-wnn: bump EAPI and drop eutils
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: gentoo#8628
  • Loading branch information
FuzzyGophers committed May 28, 2018
1 parent ff2aad8 commit 9dbfa33
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions app-i18n/scim-wnn/scim-wnn-1.0.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="2"

inherit eutils
EAPI=7

DESCRIPTION="Japanese input method Wnn IMEngine for SCIM"
HOMEPAGE="http://nop.net-p.org/modules/pukiwiki/index.php?%5B%5Bscim-wnn%5D%5D"
Expand All @@ -21,23 +19,20 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
>=sys-apps/sed-4"

PATCHES=(
# bug #295733
"${FILESDIR}/${P}-gcc43.patch"
)

src_prepare() {
default
# bug #140794
sed -i -e 's:$LDFLAGS conftest.$ac_ext $LIBS:conftest.$ac_ext $LIBS $LDFLAGS:g' \
configure || die "ldflags sed failed"

# sed -i -e "s:/usr/lib/wnn7:/usr/$(get_libdir)/wnn:g" \
sed -i -e "s:/usr/lib/wnn7:/usr/lib/wnn:g" \
src/scim_wnn_def.h src/wnnconversion.cpp || die "sed failed"

# bug #295733
epatch "${FILESDIR}/${P}-gcc43.patch"
}

src_install() {
emake DESTDIR="${D}" install || die "make install failed"

dodoc AUTHORS ChangeLog NEWS README || die
}

pkg_postinst() {
Expand Down

0 comments on commit 9dbfa33

Please sign in to comment.