summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-10-27 08:52:41 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-10-27 08:52:41 +0000
commitc0147a751bd49457d8c5fd33cc6e81028ab5a740 (patch)
treec0a31ff81d5fd4d7e8e689a559467f0f1fb83153 /x11-plugins/wmpager
parentFix overflow. Bug #341103 (diff)
downloadhistorical-c0147a751bd49457d8c5fd33cc6e81028ab5a740.tar.gz
historical-c0147a751bd49457d8c5fd33cc6e81028ab5a740.tar.bz2
historical-c0147a751bd49457d8c5fd33cc6e81028ab5a740.zip
Honour Gentoo CFLAGS.
Honour Gentoo LDFLAGS, see bug #337604. Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'x11-plugins/wmpager')
-rw-r--r--x11-plugins/wmpager/ChangeLog8
-rw-r--r--x11-plugins/wmpager/Manifest4
-rw-r--r--x11-plugins/wmpager/wmpager-1.2-r1.ebuild13
3 files changed, 17 insertions, 8 deletions
diff --git a/x11-plugins/wmpager/ChangeLog b/x11-plugins/wmpager/ChangeLog
index 2942f2da0714..8211a007800d 100644
--- a/x11-plugins/wmpager/ChangeLog
+++ b/x11-plugins/wmpager/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmpager
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/ChangeLog,v 1.10 2007/07/22 04:41:20 dberkholz Exp $
+# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/ChangeLog,v 1.11 2010/10/27 08:52:41 s4t4n Exp $
+
+ 27 Oct 2010; Michele Noberasco <s4t4n@gentoo.org>; wmpager-1.2-r1.ebuild:
+ Honour Gentoo CFLAGS.
+ Honour Gentoo LDFLAGS, see bug #337604.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
wmpager-1.2-r1.ebuild:
diff --git a/x11-plugins/wmpager/Manifest b/x11-plugins/wmpager/Manifest
index 42d7a6e4a2f0..67e8355d0bfd 100644
--- a/x11-plugins/wmpager/Manifest
+++ b/x11-plugins/wmpager/Manifest
@@ -1,4 +1,4 @@
DIST wmpager-1.2.tar.gz 24255 RMD160 ec18665115a684e7797df2cbf73357df42013987 SHA1 5ad799d67567462c6f4075ad765549efb1690f07 SHA256 ffd411bf8e0e570ec92636e355ddc3ca72c8bfad6a6a051f308e19ea7ab32343
-EBUILD wmpager-1.2-r1.ebuild 794 RMD160 2adb34c99649c0d893e52b1461ee23218e5856ee SHA1 5d46be82e6d76190df693dbc2a4f50b60a8d2886 SHA256 75c4ebb23308e890d17af39cd609018db61e27b7477add91832779c0977d8891
-MISC ChangeLog 1683 RMD160 5016d3d32e1e5451adf6b47b8668ee58c2705784 SHA1 31d77eb94104c364b2941d3fdaddf67572ab7dac SHA256 54d6af6c5f65d21011abf0add6930b9b6dab5e294223fc0a0592dba5a2b15d76
+EBUILD wmpager-1.2-r1.ebuild 947 RMD160 f1ea68714e1e1679b45675a03620bdd6a48bc408 SHA1 abbb8c8131d2fa4529107ecf64396b433eb3d57c SHA256 18d8a275d767649f5f329a0ff7303cb66e3482898a8330c5051d3d11e9ac866e
+MISC ChangeLog 1822 RMD160 6c47e88c278c50ac50c7f841b297a57d3180af1a SHA1 3cf3635dcca9803e1cdc6a9f1ba16991cb57a76e SHA256 dff6d2e8e30e98b53171d43f9f74666262360cfb4148e9807a74b525ea831d44
MISC metadata.xml 161 RMD160 8897cfed158dcb03f1e45b8f2f2a12d6875f1b03 SHA1 c492a76d6b68704d6facb68c7b830f0e27fb914e SHA256 ea202d592eb71d5e1d2ef454d6d9e6122bd23834a785a4d197751e20c1708919
diff --git a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild
index 40187df9839a..e140a2379100 100644
--- a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild
+++ b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/wmpager-1.2-r1.ebuild,v 1.12 2009/09/23 14:57:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/wmpager-1.2-r1.ebuild,v 1.13 2010/10/27 08:52:41 s4t4n Exp $
EAPI=2
@@ -20,8 +20,13 @@ DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_prepare() {
- sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" \
- src/wmpager.c
+ sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" src/wmpager.c
+
+ #Honour Gentoo CFLAGS
+ sed -i "s/-g/${CFLAGS}/" src/Makefile
+
+ #Honour Gentoo LDFLAGS, see bug #337604
+ sed -i "s/\${LIBS}/\${LIBS} \${LDFLAGS}/" src/Makefile
}
src_install() {