summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-31 21:22:44 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-31 21:22:44 +0000
commit32b1ab4a77eb53a690ad99b45b99bbacfd69e7e0 (patch)
tree627bffa134408243294b5621e251af10fff594f3 /dev-util/ccglue
parentSecurity bump (diff)
downloadgentoo-2-32b1ab4a77eb53a690ad99b45b99bbacfd69e7e0.tar.gz
gentoo-2-32b1ab4a77eb53a690ad99b45b99bbacfd69e7e0.tar.bz2
gentoo-2-32b1ab4a77eb53a690ad99b45b99bbacfd69e7e0.zip
Fix as-needed issue (bug #381345).
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/ccglue')
-rw-r--r--dev-util/ccglue/ChangeLog6
-rw-r--r--dev-util/ccglue/ccglue-0.3.1.ebuild9
-rw-r--r--dev-util/ccglue/files/ccglue-0.3.1-as-needed.patch11
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-util/ccglue/ChangeLog b/dev-util/ccglue/ChangeLog
index dc4f098c8671..174d39f15a87 100644
--- a/dev-util/ccglue/ChangeLog
+++ b/dev-util/ccglue/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/ccglue
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ChangeLog,v 1.2 2011/06/25 10:13:53 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ChangeLog,v 1.3 2011/08/31 21:22:44 radhermit Exp $
+
+ 31 Aug 2011; Tim Harder <radhermit@gentoo.org> ccglue-0.3.1.ebuild,
+ +files/ccglue-0.3.1-as-needed.patch:
+ Fix as-needed issue (bug #381345).
*ccglue-0.3.1 (25 Jun 2011)
diff --git a/dev-util/ccglue/ccglue-0.3.1.ebuild b/dev-util/ccglue/ccglue-0.3.1.ebuild
index bf1f035bd265..153403ef1aa6 100644
--- a/dev-util/ccglue/ccglue-0.3.1.ebuild
+++ b/dev-util/ccglue/ccglue-0.3.1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ccglue-0.3.1.ebuild,v 1.1 2011/06/25 10:13:53 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/ccglue/ccglue-0.3.1.ebuild,v 1.2 2011/08/31 21:22:44 radhermit Exp $
EAPI=4
+inherit autotools eutils
+
DESCRIPTION="Produce cross-reference files from cscope and ctags for use with app-vim/cctree"
HOMEPAGE="http://ccglue.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}-release-${PV}.tar.gz"
@@ -18,3 +20,8 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/release-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ eautoreconf
+}
diff --git a/dev-util/ccglue/files/ccglue-0.3.1-as-needed.patch b/dev-util/ccglue/files/ccglue-0.3.1-as-needed.patch
new file mode 100644
index 000000000000..5f2e5e34c5b5
--- /dev/null
+++ b/dev-util/ccglue/files/ccglue-0.3.1-as-needed.patch
@@ -0,0 +1,11 @@
+--- release-0.3.1/src/Makefile.am.orig
++++ release-0.3.1/src/Makefile.am
+@@ -1,6 +1,4 @@
+ bin_PROGRAMS = ccglue
+ ccglue_SOURCES = cscoperdr.c seqfile.c sym_mgr.c digraph.c options.c main.c c_glue.c
+-INCLUDES = `pkg-config --cflags glib-2.0`
+-AM_LDFLAGS = `pkg-config --libs glib-2.0`
+-
+-
++AM_CFLAGS = $(GLIB_CFLAGS)
++ccglue_LDADD = $(GLIB_LIBS)