summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2012-11-11 18:49:21 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2012-11-11 18:49:21 +0000
commit52cad79eeb1ee505e32cf07675c78147a7716838 (patch)
treecfe68486ac3b3d5d8092c6f30ca42bcb31fbd246 /media-radio
parentDrop vulnerable versions, bug #439734 (diff)
downloadgentoo-2-52cad79eeb1ee505e32cf07675c78147a7716838.tar.gz
gentoo-2-52cad79eeb1ee505e32cf07675c78147a7716838.tar.bz2
gentoo-2-52cad79eeb1ee505e32cf07675c78147a7716838.zip
Fix ignored CFLAGS (bug #442762). Thanks Diego.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/ax25-apps/ChangeLog6
-rw-r--r--media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild12
-rw-r--r--media-radio/ax25-apps/files/ax25-apps-0.0.6-cflags.patch12
3 files changed, 27 insertions, 3 deletions
diff --git a/media-radio/ax25-apps/ChangeLog b/media-radio/ax25-apps/ChangeLog
index c24730e5126e..c72e66516d8f 100644
--- a/media-radio/ax25-apps/ChangeLog
+++ b/media-radio/ax25-apps/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-radio/ax25-apps
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-apps/ChangeLog,v 1.19 2012/11/11 18:25:41 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-apps/ChangeLog,v 1.20 2012/11/11 18:49:21 tomjbe Exp $
+
+ 11 Nov 2012; Thomas Beierlein <tomjbe@gentoo.org> ax25-apps-0.0.6-r1.ebuild,
+ +files/ax25-apps-0.0.6-cflags.patch:
+ Fix ignored CFLAGS (bug #442762). Thanks Diego.
11 Nov 2012; Thomas Beierlein <tomjbe@gentoo.org> ax25-apps-0.0.8_rc2.ebuild:
Fix dependency
diff --git a/media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild b/media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild
index 188c61432a20..8cc03d0b9af3 100644
--- a/media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild
+++ b/media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild,v 1.14 2012/06/04 01:06:31 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-radio/ax25-apps/ax25-apps-0.0.6-r1.ebuild,v 1.15 2012/11/11 18:49:21 tomjbe Exp $
+
+EAPI=4
+inherit autotools eutils
DESCRIPTION="Basic AX.25 (Amateur Radio) user tools, additional daemons"
HOMEPAGE="http://ax25.sourceforge.net/"
@@ -15,8 +18,13 @@ RDEPEND=">=dev-libs/libax25-0.0.7"
DEPEND="${RDEPEND}
!media-sound/listen"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
src_install() {
- emake DESTDIR="${D}" install installconf || die
+ emake DESTDIR="${D}" install installconf
newinitd "${FILESDIR}"/ax25ipd.rc ax25ipd
newinitd "${FILESDIR}"/ax25mond.rc ax25mond
diff --git a/media-radio/ax25-apps/files/ax25-apps-0.0.6-cflags.patch b/media-radio/ax25-apps/files/ax25-apps-0.0.6-cflags.patch
new file mode 100644
index 000000000000..16551d2ecf39
--- /dev/null
+++ b/media-radio/ax25-apps/files/ax25-apps-0.0.6-cflags.patch
@@ -0,0 +1,12 @@
+# let autotools respect CFLAGS (bug #442762)
+--- ax25ipd/Makefile.am.orig 2012-11-11 19:30:25.000000000 +0100
++++ ax25ipd/Makefile.am 2012-11-11 19:30:33.000000000 +0100
+@@ -8,7 +8,7 @@
+ docdir = ${datadir}/doc/ax25-apps
+ doc_DATA = README.ax25ipd HISTORY.ax25ipd COPYING.ax25ipd
+
+-CFLAGS = -DUSE_TERMIO
++CFLAGS += -DUSE_TERMIO
+ ax25ipd_LDADD = $(AX25_LIB)
+
+ ax25ipd_SOURCES = \