diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-11-19 13:06:44 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-11-19 13:06:44 +0000 |
commit | ae6635a318f3d65395104145744805074360f7ba (patch) | |
tree | 53c3ff40470b6e4ac31ea021367ebae58fbd1bf8 /games-strategy/attal | |
parent | Stable on hppa. See bug #153927. (diff) | |
download | gentoo-2-ae6635a318f3d65395104145744805074360f7ba.tar.gz gentoo-2-ae6635a318f3d65395104145744805074360f7ba.tar.bz2 gentoo-2-ae6635a318f3d65395104145744805074360f7ba.zip |
Respect CXXFLAGS and LDFLAGS
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'games-strategy/attal')
-rw-r--r-- | games-strategy/attal/ChangeLog | 5 | ||||
-rw-r--r-- | games-strategy/attal/attal-0.10.1.ebuild | 14 |
2 files changed, 15 insertions, 4 deletions
diff --git a/games-strategy/attal/ChangeLog b/games-strategy/attal/ChangeLog index f96559f07bed..990dffd88b1e 100644 --- a/games-strategy/attal/ChangeLog +++ b/games-strategy/attal/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/attal # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.19 2006/09/11 21:19:38 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/ChangeLog,v 1.20 2006/11/19 13:06:44 nyhm Exp $ + + 19 Nov 2006; Tristan Heaven <nyhm@gentoo.org> attal-0.10.1.ebuild: + Respect CXXFLAGS and LDFLAGS *attal-0.10.1 (11 Sep 2006) diff --git a/games-strategy/attal/attal-0.10.1.ebuild b/games-strategy/attal/attal-0.10.1.ebuild index 2d6ed2da3911..6c6d9b19cfdd 100644 --- a/games-strategy/attal/attal-0.10.1.ebuild +++ b/games-strategy/attal/attal-0.10.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.10.1.ebuild,v 1.1 2006/09/11 21:19:38 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/attal/attal-0.10.1.ebuild,v 1.2 2006/11/19 13:06:44 nyhm Exp $ -inherit qt4 eutils games +inherit eutils toolchain-funcs qt4 games MY_P="${PN}-src-${PV}" DESCRIPTION="turn-based strategy game project" @@ -33,11 +33,19 @@ src_unpack() { server/duel.cpp \ || die "sed failed" + sed -i \ + -e "1i QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}" \ + -e "1i QMAKE_LFLAGS_RELEASE=${LDFLAGS}" \ + $(find . -type f -name '*.pro') \ + || die "sed failed" qmake -o Makefile Makefile.pro || die "qmake failed" } src_compile() { - emake -j1 || die "emake failed" #disable parallel builds + emake -j1 \ + CXX=$(tc-getCXX) \ + LINK=$(tc-getCXX) \ + || die "emake failed" } src_install() { |