diff options
author | 2018-06-25 15:06:39 +0200 | |
---|---|---|
committer | 2018-06-25 15:06:58 +0200 | |
commit | e5401692560b95eb922b43e16a198a92775d5996 (patch) | |
tree | 3a40bb09d717ad25e8a6cc414964633f79c17e1e /games-strategy/asc/asc-2.6.0.0-r2.ebuild | |
parent | app-admin/ps_mem: new package (diff) | |
download | gentoo-e5401692560b95eb922b43e16a198a92775d5996.tar.gz gentoo-e5401692560b95eb922b43e16a198a92775d5996.tar.bz2 gentoo-e5401692560b95eb922b43e16a198a92775d5996.zip |
games-strategy/asc: Replaced freetype-config with pkg-config
Closes: https://bugs.gentoo.org/657998
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'games-strategy/asc/asc-2.6.0.0-r2.ebuild')
-rw-r--r-- | games-strategy/asc/asc-2.6.0.0-r2.ebuild | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/games-strategy/asc/asc-2.6.0.0-r2.ebuild b/games-strategy/asc/asc-2.6.0.0-r2.ebuild index 9f44b9d7d539..6f17949ef838 100644 --- a/games-strategy/asc/asc-2.6.0.0-r2.ebuild +++ b/games-strategy/asc/asc-2.6.0.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 WX_GTK_VER=3.0 -inherit eutils toolchain-funcs flag-o-matic wxwidgets +inherit autotools toolchain-funcs flag-o-matic wxwidgets DESCRIPTION="turn based strategy game designed in the tradition of the Battle Isle series" HOMEPAGE="http://www.asc-hq.org/" @@ -37,7 +37,10 @@ DEPEND="${RDEPEND} dev-lang/perl virtual/pkgconfig" -PATCHES=( "${FILESDIR}/"/${P}-gcc6-nothrow-in-dtors.patch ) +PATCHES=( + "${FILESDIR}/"/${P}-gcc6-nothrow-in-dtors.patch + "${FILESDIR}/"/${P}-freetype_pkgconfig.patch #657998 +) src_unpack() { local f @@ -53,6 +56,12 @@ src_unpack() { done } +src_prepare() { + default + # required for freetype_pkgconfig patch + eautoreconf +} + src_configure() { need-wxwidgets unicode # Added --disable-paraguitest for bugs 26402 and 4488 @@ -61,10 +70,12 @@ src_configure() { if [[ $(gcc-major-version) -eq 4 ]] ; then replace-flags -O3 -O2 fi - econf \ - --disable-paraguitest \ - --disable-paragui \ + local myeconfargs=( + --disable-paraguitest + --disable-paragui --datadir="/usr/share" + ) + econf "${myeconfargs[@]}" } src_install() { |