diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-17 06:28:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-17 06:28:13 +0000 |
commit | ae65d17ffccfb26a86ea85cb19bbedfab1c706a6 (patch) | |
tree | 24aa9fd663fe2ac180f19ff5cd00179fee5c103e /games-board/xfrisk | |
parent | respect LDFLAGS, bug 337718; move to EAPI 3 (diff) | |
download | gentoo-2-ae65d17ffccfb26a86ea85cb19bbedfab1c706a6.tar.gz gentoo-2-ae65d17ffccfb26a86ea85cb19bbedfab1c706a6.tar.bz2 gentoo-2-ae65d17ffccfb26a86ea85cb19bbedfab1c706a6.zip |
respect LDFLAGS (bug #337722)
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-board/xfrisk')
-rw-r--r-- | games-board/xfrisk/ChangeLog | 7 | ||||
-rw-r--r-- | games-board/xfrisk/xfrisk-1.2.ebuild | 16 |
2 files changed, 14 insertions, 9 deletions
diff --git a/games-board/xfrisk/ChangeLog b/games-board/xfrisk/ChangeLog index b99b6a7c3d23..c751da855d2b 100644 --- a/games-board/xfrisk/ChangeLog +++ b/games-board/xfrisk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/xfrisk -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xfrisk/ChangeLog,v 1.7 2006/12/01 21:05:02 wolf31o2 Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/xfrisk/ChangeLog,v 1.8 2010/09/17 06:28:13 mr_bones_ Exp $ + + 17 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> xfrisk-1.2.ebuild: + respect LDFLAGS (bug #337722) 01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> xfrisk-1.2.ebuild: Removing old virtual/x11 dependency. diff --git a/games-board/xfrisk/xfrisk-1.2.ebuild b/games-board/xfrisk/xfrisk-1.2.ebuild index fd96918c756d..fc9277d95fd9 100644 --- a/games-board/xfrisk/xfrisk-1.2.ebuild +++ b/games-board/xfrisk/xfrisk-1.2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xfrisk/xfrisk-1.2.ebuild,v 1.8 2006/12/01 21:05:02 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/xfrisk/xfrisk-1.2.ebuild,v 1.9 2010/09/17 06:28:13 mr_bones_ Exp $ +EAPI=2 inherit games DESCRIPTION="The RISK board game" @@ -20,17 +21,18 @@ DEPEND="${RDEPEND} S=${WORKDIR}/XFrisk -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ + -e '/^CC=/d' \ + -e '/^LDFLAGS=/d' \ + -e "/^CFLAGS=/s|=.*|=${CFLAGS}|" \ -e "s:/usr/local:${GAMES_PREFIX}:" \ Makefile \ - || die "sed failed" + || die } src_install() { - emake PREFIX="${D}/${GAMES_PREFIX}" install || die "emake install failed" + emake PREFIX="${D}/${GAMES_PREFIX}" install || die dodoc BUGS ChangeLog FAQ TODO prepgamesdirs } |