summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/stardict/stardict-3.0.3-r2.ebuild')
-rw-r--r--app-text/stardict/stardict-3.0.3-r2.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/app-text/stardict/stardict-3.0.3-r2.ebuild b/app-text/stardict/stardict-3.0.3-r2.ebuild
index d3dbcb60..7e25cbb7 100644
--- a/app-text/stardict/stardict-3.0.3-r2.ebuild
+++ b/app-text/stardict/stardict-3.0.3-r2.ebuild
@@ -13,7 +13,7 @@ EAPI=4
GNOME2_LA_PUNT=yes
GCONF_DEBUG=no
-inherit base eutils gnome2 autotools
+inherit eutils gnome2 autotools
DESCRIPTION="A international dictionary supporting fuzzy and glob style matching"
HOMEPAGE="http://code.google.com/p/stardict-3/"
@@ -72,16 +72,15 @@ pkg_setup() {
--disable-schemas-install"
}
-PATCHES=(
- "${FILESDIR}/${P}-correct-glib-include.patch"
- "${FILESDIR}/${P}-entry.patch"
- "${FILESDIR}/${P}-gcc46.patch"
- "${FILESDIR}/${P}-compositelookup_cpp.patch"
- "${FILESDIR}/${P}-overflow.patch"
- "${FILESDIR}/${P}-zlib-1.2.5.2.patch"
-)
src_prepare() {
- base_src_prepare
+ epatch \
+ "${FILESDIR}"/${P}-correct-glib-include.patch \
+ "${FILESDIR}"/${P}-entry.patch \
+ "${FILESDIR}"/${P}-gcc46.patch \
+ "${FILESDIR}"/${P}-compositelookup_cpp.patch \
+ "${FILESDIR}"/${P}-overflow.patch \
+ "${FILESDIR}"/${P}-zlib-1.2.5.2.patch
+ epatch_user
if ! use gnome
then sed -i \
-e "s/GNOME_DOC_INIT/GNOME_DOC_INIT([0.32],[:],[:])/" \