diff options
author | Christoph Mende <angelos@gentoo.org> | 2008-12-30 19:55:14 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2008-12-30 19:55:14 +0000 |
commit | 386fca1841a73dab6ce4d0a072a0627680025325 (patch) | |
tree | d6678b8c916fc55d23542c9ced22cac68a577092 /app-misc/fujiplay | |
parent | QA: Respect CC (bug 243634) and CFLAGS (bug 240069) (diff) | |
download | gentoo-2-386fca1841a73dab6ce4d0a072a0627680025325.tar.gz gentoo-2-386fca1841a73dab6ce4d0a072a0627680025325.tar.bz2 gentoo-2-386fca1841a73dab6ce4d0a072a0627680025325.zip |
QA: Respect CC (bug 243640), respect CFLAGS, prevent stripping (bug 240031)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-misc/fujiplay')
-rw-r--r-- | app-misc/fujiplay/ChangeLog | 8 | ||||
-rw-r--r-- | app-misc/fujiplay/fujiplay-1.33.ebuild | 26 |
2 files changed, 21 insertions, 13 deletions
diff --git a/app-misc/fujiplay/ChangeLog b/app-misc/fujiplay/ChangeLog index 43cd27f8a566..19acf17a05b4 100644 --- a/app-misc/fujiplay/ChangeLog +++ b/app-misc/fujiplay/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/fujiplay -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/fujiplay/ChangeLog,v 1.11 2007/07/30 22:53:24 swegener Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/fujiplay/ChangeLog,v 1.12 2008/12/30 19:55:14 angelos Exp $ + + 30 Dec 2008; Christoph Mende <angelos@gentoo.org> fujiplay-1.33.ebuild: + QA: Respect CC (bug 243640), respect CFLAGS, prevent stripping (bug + 240031) 30 Jul 2007; Sven Wegener <swegener@gentoo.org> fujiplay-1.33-unterminated-strings.patch: diff --git a/app-misc/fujiplay/fujiplay-1.33.ebuild b/app-misc/fujiplay/fujiplay-1.33.ebuild index 4b3af5068f67..695b6c0d56d1 100644 --- a/app-misc/fujiplay/fujiplay-1.33.ebuild +++ b/app-misc/fujiplay/fujiplay-1.33.ebuild @@ -1,27 +1,31 @@ -# 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/fujiplay/fujiplay-1.33.ebuild,v 1.13 2007/01/28 05:12:30 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/fujiplay/fujiplay-1.33.ebuild,v 1.14 2008/12/30 19:55:14 angelos Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)" HOMEPAGE="http://topo.math.u-psud.fr/~bousch/fujiplay.html" -SRC_URI="http://topo.math.u-psud.fr/~bousch/fujiplay.tgz" +SRC_URI="http://topo.math.u-psud.fr/~bousch/${PN}.tgz" LICENSE="public-domain" SLOT="0" KEYWORDS="x86" IUSE="" -DEPEND="virtual/libc" -RDEPEND="" - -S=${WORKDIR} +S="${WORKDIR}" src_unpack() { - unpack ${PN}.tgz - cd ${S} - epatch ${FILESDIR}/${P}-unterminated-strings.patch + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-unterminated-strings.patch +} + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" } src_install() { |