From 74e7ef6c87737c0495cac3f6451ec9501503e2f7 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Mon, 10 Sep 2012 08:36:11 +0000 Subject: Respect CFLAGS. Bug #430776 (Portage version: 2.1.11.14/cvs/Linux i686) --- games-board/xgammon/ChangeLog | 8 ++++++-- games-board/xgammon/xgammon-0.98.ebuild | 19 +++++++++++++++---- 2 files changed, 21 insertions(+), 6 deletions(-) (limited to 'games-board') diff --git a/games-board/xgammon/ChangeLog b/games-board/xgammon/ChangeLog index d3a2ddba3576..86f5551f872a 100644 --- a/games-board/xgammon/ChangeLog +++ b/games-board/xgammon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/xgammon -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/ChangeLog,v 1.14 2010/09/06 08:54:07 tupone Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/ChangeLog,v 1.15 2012/09/10 08:36:11 tupone Exp $ + + 10 Sep 2012; Tupone Alfredo xgammon-0.98.ebuild: + Respect CFLAGS. Bug #430776 by Diego + Inform users about the fonts needed. 06 Sep 2010; Alfredo Tupone xgammon-0.98.ebuild: Respect LDFLAGS. Bug #336112 by flameeyes@gentoo.org diff --git a/games-board/xgammon/xgammon-0.98.ebuild b/games-board/xgammon/xgammon-0.98.ebuild index 22a72e208e37..a3b5098ffac7 100644 --- a/games-board/xgammon/xgammon-0.98.ebuild +++ b/games-board/xgammon/xgammon-0.98.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/xgammon-0.98.ebuild,v 1.14 2010/09/06 08:54:07 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/xgammon-0.98.ebuild,v 1.15 2012/09/10 08:36:11 tupone Exp $ EAPI=2 -inherit eutils +inherit toolchain-funcs eutils DESCRIPTION="very nice backgammon game for X" HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html" @@ -33,9 +33,20 @@ src_configure() { } src_compile() { - env PATH=".:${PATH}" emake EXTRA_LDOPTIONS="${LDFLAGS}" || die "emake failed" + env PATH=".:${PATH}" emake \ + EXTRA_LDOPTIONS="${LDFLAGS}" \ + CDEBUGFLAGS="${CFLAGS}" \ + CC=$(tc-getCC) \ + || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" } + +pkg_postinst() { + games_pkg_postinst + einfo "xgammon need helvetica fonts" + einfo "They can be loaded emerging media-fonts/font-adobe-100dpi" + einfo "or similar. Remember to restart X after loading fonts" +} -- cgit v1.2.3-65-gdbad