summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-13 10:39:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-13 10:39:55 +0000
commit048b266ff54c42932dfa9eb3c5b242e392f07761 (patch)
tree087d9f8daba6eab86613e7b9be379d38f152e5e5 /x11-misc
parentreduce number of libs to link against for poppler-glib, inspired by upstream ... (diff)
downloadhistorical-048b266ff54c42932dfa9eb3c5b242e392f07761.tar.gz
historical-048b266ff54c42932dfa9eb3c5b242e392f07761.tar.bz2
historical-048b266ff54c42932dfa9eb3c5b242e392f07761.zip
Fix building with -Wl,--as-needed.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xnee/ChangeLog6
-rw-r--r--x11-misc/xnee/Manifest5
-rw-r--r--x11-misc/xnee/files/xnee-3.05-asneeded.patch10
-rw-r--r--x11-misc/xnee/xnee-3.05.ebuild9
4 files changed, 25 insertions, 5 deletions
diff --git a/x11-misc/xnee/ChangeLog b/x11-misc/xnee/ChangeLog
index 5ab55d9e481b..f1525e628a87 100644
--- a/x11-misc/xnee/ChangeLog
+++ b/x11-misc/xnee/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xnee
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/ChangeLog,v 1.6 2010/02/09 18:16:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/ChangeLog,v 1.7 2010/02/13 10:39:54 ssuominen Exp $
+
+ 13 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> xnee-3.05.ebuild,
+ +files/xnee-3.05-asneeded.patch:
+ Fix building with -Wl,--as-needed.
*xnee-3.05 (09 Feb 2010)
diff --git a/x11-misc/xnee/Manifest b/x11-misc/xnee/Manifest
index 6a1ac0ee1e2d..347fb1c15ada 100644
--- a/x11-misc/xnee/Manifest
+++ b/x11-misc/xnee/Manifest
@@ -1,4 +1,5 @@
+AUX xnee-3.05-asneeded.patch 315 RMD160 9a9871531243c747a8d7cd36b89ea50f2fe2be1a SHA1 6c86ee5ac106668b94c12491d909a3a3b6898e2c SHA256 2b6dc3139e68c61236a68ae28d69fced31a9038a2ed2ee1651fae319f32b3871
DIST xnee-3.05.tar.gz 1666788 RMD160 1a1bcc7b043fd3eb603a7f0c7ed94ccaff70d778 SHA1 0b725c3648670e2f76a16a013707596a4e73a0aa SHA256 a310aeacc7c6a0ee32d91815cc62cbb202a9daaf91399f1c2e902b81018640d1
-EBUILD xnee-3.05.ebuild 1290 RMD160 1f9df986891e5c9b75787d3a4bc9fb3815568f2e SHA1 b9da416240a8cf7491997aa6d54302e814720066 SHA256 359e51cfb312fe21d2a579dd4bf7663161dbb180601e3b36c92cfc8ac0a29b40
-MISC ChangeLog 1178 RMD160 2d28ea4eb69172894f14b27e4141fc54b90df6e3 SHA1 a8f0007e2126595bb725dbacefed6ea193de18bb SHA256 6f24c930eab01fcf0e0c08364110153c26d3615622d9e928300b585ad3ff8253
+EBUILD xnee-3.05.ebuild 1374 RMD160 6e7663ef56db9b60dcc120950b957fa7860ae740 SHA1 8e32b8ea4c13ab8589e2a360d4a6fd4d671f2cc8 SHA256 640787555cfca91473dc7f419dd3850ede8bb4734511ee505bd24882b222ed8d
+MISC ChangeLog 1323 RMD160 fa83af28ec95074eda184809f8255cf52fdd52db SHA1 d959b24b328e2e94a2a198f5198025d8430216ac SHA256 780aaad0dfbe6ac606459ca1a1d64ee5da73e4474cd41f8fc544574d7077e1e7
MISC metadata.xml 173 RMD160 f74c5ca8d8aa0d0897c7c107f6eb4424d4f4343e SHA1 ca2ea648208cc74669b8a084f1b74e5cd4415777 SHA256 2f2c48f12680e78f700e809ba6ff98c67b1ea8b707291659c1bfb6b20d28835f
diff --git a/x11-misc/xnee/files/xnee-3.05-asneeded.patch b/x11-misc/xnee/files/xnee-3.05-asneeded.patch
new file mode 100644
index 000000000000..cc378f16602d
--- /dev/null
+++ b/x11-misc/xnee/files/xnee-3.05-asneeded.patch
@@ -0,0 +1,10 @@
+--- libxnee/src/Makefile.am
++++ libxnee/src/Makefile.am
+@@ -75,6 +75,7 @@
+ lib_LTLIBRARIES = $(WANTED_LIBXNEE)
+ libxnee_la_LDFLAGS = -rpath '$(libdir)'
+ libxnee_la_SOURCES = $(LIB_XNEE_SOURCE_FILES)
++libxnee_la_LIBADD = @X_PRE_LIBS@ @X11_LIBS@
+ libxnee_a_CFLAGS = $(AM_CFLAGS)
+
+ dnl noinst_LIBRARIES = libxnee.a
diff --git a/x11-misc/xnee/xnee-3.05.ebuild b/x11-misc/xnee/xnee-3.05.ebuild
index 73acf0d49098..acd6f8fe3bd1 100644
--- a/x11-misc/xnee/xnee-3.05.ebuild
+++ b/x11-misc/xnee/xnee-3.05.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/xnee-3.05.ebuild,v 1.1 2010/02/09 18:16:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xnee/xnee-3.05.ebuild,v 1.2 2010/02/13 10:39:54 ssuominen Exp $
EAPI=2
-inherit eutils
+inherit autotools eutils
DESCRIPTION="Program suite to record, replay and distribute user actions."
HOMEPAGE="http://www.sandklef.com/xnee/"
@@ -26,6 +26,11 @@ DEPEND="${RDEPEND}
gnome? ( sys-devel/gettext
media-gfx/imagemagick )"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
+}
+
src_configure() {
local myconf=""