diff options
author | Ned Ludd <solar@gentoo.org> | 2008-05-11 20:53:32 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-05-11 20:53:32 +0000 |
commit | 81ee7f80727ad9a884eb51339e99ad3b6bd485cb (patch) | |
tree | c635281e0bcf1f90112eb46e07036de67614a921 /app-misc/nut | |
parent | - cross compile love. fixes /usr/bin/chkfont being installed with the wrong E... (diff) | |
download | gentoo-2-81ee7f80727ad9a884eb51339e99ad3b6bd485cb.tar.gz gentoo-2-81ee7f80727ad9a884eb51339e99ad3b6bd485cb.tar.bz2 gentoo-2-81ee7f80727ad9a884eb51339e99ad3b6bd485cb.zip |
- Keyworded ~arm/~amd64 and cross-compile love
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc/nut')
-rw-r--r-- | app-misc/nut/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/nut/nut-12.7.ebuild | 16 |
2 files changed, 16 insertions, 7 deletions
diff --git a/app-misc/nut/ChangeLog b/app-misc/nut/ChangeLog index 2de41192fca7..1c39b65bf953 100644 --- a/app-misc/nut/ChangeLog +++ b/app-misc/nut/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/nut -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.9 2007/09/09 12:41:20 coldwind Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.10 2008/05/11 20:53:32 solar Exp $ + + 11 May 2008; <solar@gentoo.org> nut-12.7.ebuild: + - Keyworded ~arm/~amd64 and cross-compile love *nut-12.7 (09 Sep 2007) diff --git a/app-misc/nut/nut-12.7.ebuild b/app-misc/nut/nut-12.7.ebuild index 719e36a84d5f..e0a98731af32 100644 --- a/app-misc/nut/nut-12.7.ebuild +++ b/app-misc/nut/nut-12.7.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-12.7.ebuild,v 1.1 2007/09/09 12:41:20 coldwind Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-12.7.ebuild,v 1.2 2008/05/11 20:53:32 solar Exp $ -inherit flag-o-matic +inherit flag-o-matic toolchain-funcs DESCRIPTION="Record what you eat and analyze your nutrient levels" HOMEPAGE="http://nut.sourceforge.net/" @@ -10,15 +10,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" +KEYWORDS="~arm ~alpha ~amd64 ~ppc ~x86 ~amd64" IUSE="" DEPEND="" RDEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e s/'gcc '/'$(CC) '/ Makefile || ewarn "It might of been fixed" +} + src_compile() { append-flags '-DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/share/nut\"' - emake CFLAGS="${CFLAGS}" || die "emake failed" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { |