summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-09-10 08:36:11 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-09-10 08:36:11 +0000
commit74e7ef6c87737c0495cac3f6451ec9501503e2f7 (patch)
tree681d1fb238970ef7d7a62412071f68c4d5bf8b4e /games-board
parentRevision bump - remove pointless dependency on dev-python/libgnomeprint-pytho... (diff)
downloadgentoo-2-74e7ef6c87737c0495cac3f6451ec9501503e2f7.tar.gz
gentoo-2-74e7ef6c87737c0495cac3f6451ec9501503e2f7.tar.bz2
gentoo-2-74e7ef6c87737c0495cac3f6451ec9501503e2f7.zip
Respect CFLAGS. Bug #430776
(Portage version: 2.1.11.14/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/xgammon/ChangeLog8
-rw-r--r--games-board/xgammon/xgammon-0.98.ebuild19
2 files changed, 21 insertions, 6 deletions
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 <tupone@gentoo.org> xgammon-0.98.ebuild:
+ Respect CFLAGS. Bug #430776 by Diego
+ Inform users about the fonts needed.
06 Sep 2010; Alfredo Tupone <tupone@gentoo.org> 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"
+}