diff options
author | Serkan Kaba <serkan@gentoo.org> | 2008-11-27 18:32:35 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2008-11-27 18:32:35 +0000 |
commit | 5d53123b54d7b88d5a813f33c050db9351e36b4c (patch) | |
tree | f5960bad604d339ea32939465104325ff5bceb88 /x11-libs/gtkhotkey | |
parent | Stable for HPPA (bug #24876). (diff) | |
download | gentoo-2-5d53123b54d7b88d5a813f33c050db9351e36b4c.tar.gz gentoo-2-5d53123b54d7b88d5a813f33c050db9351e36b4c.tar.bz2 gentoo-2-5d53123b54d7b88d5a813f33c050db9351e36b4c.zip |
Fix compilation with --as-needed reported in bug #248537. Don't compile tests when not needed. Thanks to Diego Pettenò <flameeyes@gentoo.org> for the report and help.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'x11-libs/gtkhotkey')
-rw-r--r-- | x11-libs/gtkhotkey/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/gtkhotkey/files/gtkhotkey-0.2.0-buildfixes.patch | 59 | ||||
-rw-r--r-- | x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild | 11 |
3 files changed, 75 insertions, 3 deletions
diff --git a/x11-libs/gtkhotkey/ChangeLog b/x11-libs/gtkhotkey/ChangeLog index 9fbdcd5a2eeb..d4fd78bae27a 100644 --- a/x11-libs/gtkhotkey/ChangeLog +++ b/x11-libs/gtkhotkey/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/gtkhotkey # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkhotkey/ChangeLog,v 1.2 2008/11/09 15:28:09 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkhotkey/ChangeLog,v 1.3 2008/11/27 18:32:35 serkan Exp $ + + 27 Nov 2008; Serkan Kaba <serkan@gentoo.org> + +files/gtkhotkey-0.2.0-buildfixes.patch, gtkhotkey-0.2.0.ebuild: + Fix compilation with --as-needed reported in bug #248537. Don't compile + tests when not needed. Thanks to Diego Pettenò <flameeyes@gentoo.org> for + the report and help. 09 Nov 2008; Markus Meier <maekke@gentoo.org> gtkhotkey-0.2.0.ebuild: add ~x86, bug #246077 diff --git a/x11-libs/gtkhotkey/files/gtkhotkey-0.2.0-buildfixes.patch b/x11-libs/gtkhotkey/files/gtkhotkey-0.2.0-buildfixes.patch new file mode 100644 index 000000000000..2b13aff4f02c --- /dev/null +++ b/x11-libs/gtkhotkey/files/gtkhotkey-0.2.0-buildfixes.patch @@ -0,0 +1,59 @@ +# Bazaar merge directive format 2 (Bazaar 0.90) +# revision_id: serkan@gentoo.org-20081126194218-u376kxy72v0dx7dc +# target_branch: ../gtkhotkey/ +# testament_sha1: 06ccd01bc7499075c62274cb25269a005b0c5efd +# timestamp: 2008-11-26 23:41:48 +0200 +# base_revision_id: mikkel.kamstrup@gmail.com-20081028221117-\ +# 90lhle1k6yd06j6f +# +# Begin patch +=== modified file 'test/Makefile.am' +--- test/Makefile.am 2008-10-27 21:09:19 +0000 ++++ test/Makefile.am 2008-11-26 19:42:18 +0000 +@@ -11,11 +11,11 @@ + -Wall\ + -g + +-gtk_hotkey_libs = $(top_builddir)/src/libgtkhotkey.la ++gtk_hotkey_libs = $(top_builddir)/src/libgtkhotkey.la $(GTK_HOTKEY_LIBS) + + helper_sources = + +-noinst_PROGRAMS = $(TEST_PROGS) test-interactive test-interactive-multi ++check_PROGRAMS = $(TEST_PROGS) test-interactive test-interactive-multi + + test_interactive_SOURCES = test-interactive.c $(helper_sources) + test_interactive_LDADD = $(gtk_hotkey_libs) + +# Begin bundle +IyBCYXphYXIgcmV2aXNpb24gYnVuZGxlIHY0CiMKQlpoOTFBWSZTWSAaPjsAA8nfgCAQVeP////v +//C////wYAdO+NAAAVBAKAUBCSUFN6hPRtTQKeEZNMFNPAmpibUemp6aR6QNMcZMmhiMTRgEYCYQ +BgJpo0yNAMcZMmhiMTRgEYC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FVdbSGrahU+hc6pCce4u5IpwoSBANHx2A= diff --git a/x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild b/x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild index 95f3fdaef5a3..514f26386336 100644 --- a/x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild +++ b/x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild,v 1.3 2008/11/09 15:28:09 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkhotkey/gtkhotkey-0.2.0.ebuild,v 1.4 2008/11/27 18:32:35 serkan Exp $ -inherit versionator +EAPI="2" + +inherit versionator eutils autotools MY_CRV=$(get_version_component_range 1-2) @@ -26,6 +28,11 @@ DEPEND="${COMMON_DEPEND} >=dev-util/intltool-0.35.0 sys-devel/gettext" +src_prepare() { + epatch "${FILESDIR}"/${P}-buildfixes.patch + eautoreconf +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" |