diff options
author | Wolfgang E. Sanyer <ezzieyguywuf@gmail.com> | 2021-03-07 14:19:37 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-05 17:45:42 +0000 |
commit | 3deea32a6485c3bf92baafd7ffb6a8e93cc99537 (patch) | |
tree | e5d441acd03583256981eeb7c583af3f98ab7627 /games-roguelike/hengband/hengband-1.6.2-r1.ebuild | |
parent | games-roguelike/adom: bump to 3.3.3 (diff) | |
download | gentoo-3deea32a6485c3bf92baafd7ffb6a8e93cc99537.tar.gz gentoo-3deea32a6485c3bf92baafd7ffb6a8e93cc99537.tar.bz2 gentoo-3deea32a6485c3bf92baafd7ffb6a8e93cc99537.zip |
games-roguelike/hengband: add missing tinfo link
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-roguelike/hengband/hengband-1.6.2-r1.ebuild')
-rw-r--r-- | games-roguelike/hengband/hengband-1.6.2-r1.ebuild | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild index 97f4b9bd3cb7..15fcc0210076 100644 --- a/games-roguelike/hengband/hengband-1.6.2-r1.ebuild +++ b/games-roguelike/hengband/hengband-1.6.2-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils autotools games +inherit eutils autotools DESCRIPTION="An Angband variant, with a Japanese/fantasy theme" HOMEPAGE="http://hengband.sourceforge.jp/en/" @@ -18,6 +18,7 @@ RDEPEND=">=sys-libs/ncurses-5:0 X? ( x11-libs/libX11 )" DEPEND="${RDEPEND} X? ( x11-libs/libXt )" +BDEPEND="virtual/pkgconfig" src_prepare() { # Removing Xaw dependency as is not used @@ -33,30 +34,30 @@ src_prepare() { epatch \ "../${P}"-mispellings.patch \ "${FILESDIR}/${P}"-added_faq.patch \ - "${FILESDIR}"/${P}-ovflfix.patch + "${FILESDIR}"/${P}-ovflfix.patch \ + "${FILESDIR}/${P}-autoconf-ncurses.patch" mv configure.in configure.ac || die eautoreconf } src_configure() { - local myconf - use l10n_ja || myconf="--disable-japanese" - - egamesconf \ - --with-setgid=${GAMES_GROUP} \ - $(use_with X x) \ - ${myconf} + local myconf=( + --bindir="${EPREFIX}"/usr/bin + --with-setgid="nobody" + $(use_with X x) + ) + use l10n_ja || myconf+=( --disable-japanese ) + + econf "${myconf[@]}" } src_install() { - make DESTDIR="${D}" install || die "make install failed" + default + if use l10n_ja ; then dodoc readme.txt autopick.txt readme_eng.txt autopick_eng.txt else newdoc readme_eng.txt readme.txt newdoc autopick_eng.txt autopick.txt fi - prepgamesdirs - # FIXME: we need to patch around this BS - fperms g+w "${GAMES_DATADIR}"/${PN}/lib/{apex,data,save,user} } |