diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2008-12-05 18:37:50 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2008-12-05 18:37:50 +0000 |
commit | 3f622fdbb6f302c312c030b4406e023635dc3c3e (patch) | |
tree | daa7291e0287762538e08b31e76b1bbd8a0dc5f5 /games-board/phalanx | |
parent | clean up (diff) | |
download | gentoo-2-3f622fdbb6f302c312c030b4406e023635dc3c3e.tar.gz gentoo-2-3f622fdbb6f302c312c030b4406e023635dc3c3e.tar.bz2 gentoo-2-3f622fdbb6f302c312c030b4406e023635dc3c3e.zip |
Respect CC and LDFLAGS, bug #244068
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'games-board/phalanx')
-rw-r--r-- | games-board/phalanx/ChangeLog | 5 | ||||
-rw-r--r-- | games-board/phalanx/phalanx-22.ebuild | 13 |
2 files changed, 13 insertions, 5 deletions
diff --git a/games-board/phalanx/ChangeLog b/games-board/phalanx/ChangeLog index a0b97d9600d0..7445721e74d2 100644 --- a/games-board/phalanx/ChangeLog +++ b/games-board/phalanx/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/phalanx # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/ChangeLog,v 1.4 2008/07/24 18:05:48 ken69267 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/ChangeLog,v 1.5 2008/12/05 18:37:50 nyhm Exp $ + + 05 Dec 2008; Tristan Heaven <nyhm@gentoo.org> phalanx-22.ebuild: + Respect CC and LDFLAGS, bug #244068 24 Jul 2008; Kenneth Prugh <ken69267@gentoo.org> phalanx-22.ebuild: amd64 stable, bug #232705 diff --git a/games-board/phalanx/phalanx-22.ebuild b/games-board/phalanx/phalanx-22.ebuild index 5032965ee213..557bd58a646c 100644 --- a/games-board/phalanx/phalanx-22.ebuild +++ b/games-board/phalanx/phalanx-22.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/phalanx-22.ebuild,v 1.4 2008/07/24 18:05:48 ken69267 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/phalanx/phalanx-22.ebuild,v 1.5 2008/12/05 18:37:50 nyhm Exp $ -inherit games +inherit toolchain-funcs games MY_PN="Phalanx" MY_PV="XXII" @@ -22,11 +22,16 @@ S=${WORKDIR}/${MY_P} src_compile() { # configure is not used in the project; confs are in Makefile, # and here we override them: - local define="-DGNUFUN" + local define="-DGNUFUN" myvar for myvar in "PBOOK" "SBOOK" "LEARN" ; do define="${define} -D${myvar}_DIR=\"\\\"${GAMES_DATADIR}/${PN}\\\"\"" done - emake DEFINES="${define}" CFLAGS="${CFLAGS}" || die "emake failed" + emake \ + DEFINES="${define}" \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" } src_install() { |