summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-10-19 07:57:36 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-10-19 07:57:36 +0000
commit0914ca850a4bb838d17722d2d864a15986b7a632 (patch)
tree1ebd5608f3a78eb2fba9384a6d8c339710f163ac /media-radio/ibp
parenttidy (diff)
downloadgentoo-2-0914ca850a4bb838d17722d2d864a15986b7a632.tar.gz
gentoo-2-0914ca850a4bb838d17722d2d864a15986b7a632.tar.bz2
gentoo-2-0914ca850a4bb838d17722d2d864a15986b7a632.zip
Make Imakefile respect LDFLAGS (bug #341475)
(Portage version: 2.1.9.20/cvs/Linux i686)
Diffstat (limited to 'media-radio/ibp')
-rw-r--r--media-radio/ibp/ChangeLog6
-rw-r--r--media-radio/ibp/files/ibp-0.21-ldflags.patch7
-rw-r--r--media-radio/ibp/ibp-0.21.ebuild13
3 files changed, 22 insertions, 4 deletions
diff --git a/media-radio/ibp/ChangeLog b/media-radio/ibp/ChangeLog
index 4740cb3f8609..10b4f4ce817b 100644
--- a/media-radio/ibp/ChangeLog
+++ b/media-radio/ibp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-radio/ibp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/ibp/ChangeLog,v 1.1 2010/09/12 11:15:53 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/ibp/ChangeLog,v 1.2 2010/10/19 07:57:36 tomjbe Exp $
+
+ 19 Oct 2010; Thomas Beierlein <tomjbe@gentoo.org> ibp-0.21.ebuild,
+ +files/ibp-0.21-ldflags.patch:
+ Make Imakefile respect LDFLAGS (bug #341475)
*ibp-0.21 (12 Sep 2010)
diff --git a/media-radio/ibp/files/ibp-0.21-ldflags.patch b/media-radio/ibp/files/ibp-0.21-ldflags.patch
new file mode 100644
index 000000000000..d33103b4d833
--- /dev/null
+++ b/media-radio/ibp/files/ibp-0.21-ldflags.patch
@@ -0,0 +1,7 @@
+--- Imakefile.old 2010-10-19 08:44:15.000000000 +0200
++++ Imakefile 2010-10-19 08:43:56.000000000 +0200
+@@ -1,3 +1,4 @@
++LOCAL_LDFLAGS = $(LDFLAGS)
+ SYS_LIBRARIES = -lX11 -lm -lcurses
+ SRCS = ibp.c xdisp.c large.bits.h
+ OBJS = ibp.o xdisp.o
diff --git a/media-radio/ibp/ibp-0.21.ebuild b/media-radio/ibp/ibp-0.21.ebuild
index 341995878ea1..5b010c71544b 100644
--- a/media-radio/ibp/ibp-0.21.ebuild
+++ b/media-radio/ibp/ibp-0.21.ebuild
@@ -1,6 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/ibp/ibp-0.21.ebuild,v 1.1 2010/09/12 11:15:53 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/ibp/ibp-0.21.ebuild,v 1.2 2010/10/19 07:57:36 tomjbe Exp $
+
+EAPI="2"
+
+inherit eutils
DESCRIPTION="Shows currently transmitting beacons of the International Beacon Project (IBP)"
HOMEPAGE="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}.html"
@@ -16,11 +20,14 @@ RDEPEND="sys-libs/ncurses
DEPEND="${RDEPEND}
X? ( x11-misc/imake )"
-src_compile() {
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_configure() {
if ( use X ) ;then
xmkmf || die " xmkmf failed"
fi
- emake || die
}
src_install() {