diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2010-10-19 20:05:00 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2010-10-19 20:05:00 +0000 |
commit | 4a5477a4bd3ffeebd06fe2144b13a45859f984d4 (patch) | |
tree | 6d305123ab3351c1681f666a76e0a5c15ce30982 /media-sound/fmtools | |
parent | Stable on amd64 wrt bug #339957 (diff) | |
download | gentoo-2-4a5477a4bd3ffeebd06fe2144b13a45859f984d4.tar.gz gentoo-2-4a5477a4bd3ffeebd06fe2144b13a45859f984d4.tar.bz2 gentoo-2-4a5477a4bd3ffeebd06fe2144b13a45859f984d4.zip |
Instill LDFLAGS respect into upstream build system. Closes bug #337449 by Diego Elio "Flameeyes" Pettenò <flameeyes@gentoo.org>.
(Portage version: 2.1.9.20/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/fmtools')
-rw-r--r-- | media-sound/fmtools/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/fmtools/files/fmtools-1.0.2-ldflags.patch | 16 | ||||
-rw-r--r-- | media-sound/fmtools/fmtools-1.0.2-r1.ebuild | 29 | ||||
-rw-r--r-- | media-sound/fmtools/fmtools-1.0.2.ebuild | 4 |
4 files changed, 56 insertions, 4 deletions
diff --git a/media-sound/fmtools/ChangeLog b/media-sound/fmtools/ChangeLog index 4a060f91a11c..2f2b5252d027 100644 --- a/media-sound/fmtools/ChangeLog +++ b/media-sound/fmtools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/fmtools -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/ChangeLog,v 1.11 2009/06/11 13:39:19 fauli Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/ChangeLog,v 1.12 2010/10/19 20:05:00 chainsaw Exp $ + +*fmtools-1.0.2-r1 (19 Oct 2010) + + 19 Oct 2010; <chainsaw@gentoo.org> +fmtools-1.0.2-r1.ebuild, + +files/fmtools-1.0.2-ldflags.patch: + Instill LDFLAGS respect into upstream build system. Closes bug #337449 by + Diego Elio "Flameeyes" Pettenò <flameeyes@gentoo.org>. 11 Jun 2009; Christian Faulhammer <fauli@gentoo.org> fmtools-1.0.2.ebuild: stable x86, bug 272680 diff --git a/media-sound/fmtools/files/fmtools-1.0.2-ldflags.patch b/media-sound/fmtools/files/fmtools-1.0.2-ldflags.patch new file mode 100644 index 000000000000..aa7d136497f6 --- /dev/null +++ b/media-sound/fmtools/files/fmtools-1.0.2-ldflags.patch @@ -0,0 +1,16 @@ +diff -uNr fmtools-1.0.2.ORIG//Makefile fmtools-1.0.2/Makefile +--- fmtools-1.0.2.ORIG//Makefile 2010-10-19 20:57:24.000000000 +0100 ++++ fmtools-1.0.2/Makefile 2010-10-19 20:58:52.000000000 +0100 +@@ -18,10 +18,10 @@ + all: $(TARGETS) + + fm: fm.c +- $(CC) $(CFLAGS) -o fm fm.c -lm ++ $(CC) $(LDFLAGS) $(CFLAGS) -o fm fm.c -lm + + fmscan: fmscan.c +- $(CC) $(CFLAGS) -o fmscan fmscan.c -lm ++ $(CC) $(LDFLAGS) $(CFLAGS) -o fmscan fmscan.c -lm + + clean: + rm -f *~ *.o $(TARGETS) diff --git a/media-sound/fmtools/fmtools-1.0.2-r1.ebuild b/media-sound/fmtools/fmtools-1.0.2-r1.ebuild new file mode 100644 index 000000000000..9fe0c2cb9b62 --- /dev/null +++ b/media-sound/fmtools/fmtools-1.0.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/fmtools-1.0.2-r1.ebuild,v 1.1 2010/10/19 20:05:00 chainsaw Exp $ + +EAPI=2 +inherit base toolchain-funcs + +DESCRIPTION="A collection of programs for controlling v4l radio card drivers." +HOMEPAGE="http://www.stanford.edu/~blp/fmtools" +SRC_URI="http://www.stanford.edu/~blp/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" +PATCHES=( "${FILESDIR}/${P}-ldflags.patch" ) + +RDEPEND="" +DEPEND="" + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + dobin fm fmscan || die "dobin failed" + doman fm.1 fmscan.1 + dodoc CHANGES README +} diff --git a/media-sound/fmtools/fmtools-1.0.2.ebuild b/media-sound/fmtools/fmtools-1.0.2.ebuild index 2636dcf2f2bc..83d0193b50c0 100644 --- a/media-sound/fmtools/fmtools-1.0.2.ebuild +++ b/media-sound/fmtools/fmtools-1.0.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/fmtools-1.0.2.ebuild,v 1.4 2009/06/11 13:39:19 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/fmtools/fmtools-1.0.2.ebuild,v 1.5 2010/10/19 20:05:00 chainsaw Exp $ EAPI=2 inherit toolchain-funcs |