summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-08-30 22:33:17 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-08-30 22:33:17 +0000
commit57a584a40bc49a84659b733cc5a9ab0cc15c2ac7 (patch)
tree24cf2ad14dea937bd4fc3fe2c59aaaae91e9cfdf /x11-drivers
parentVersion bump. (diff)
downloadgentoo-2-57a584a40bc49a84659b733cc5a9ab0cc15c2ac7.tar.gz
gentoo-2-57a584a40bc49a84659b733cc5a9ab0cc15c2ac7.tar.bz2
gentoo-2-57a584a40bc49a84659b733cc5a9ab0cc15c2ac7.zip
Fixed linking and handling of LDFLAGS.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/synaptics/ChangeLog8
-rw-r--r--x11-drivers/synaptics/synaptics-0.14.6_p20070706-r1.ebuild (renamed from x11-drivers/synaptics/synaptics-0.14.6_p20070706.ebuild)10
2 files changed, 13 insertions, 5 deletions
diff --git a/x11-drivers/synaptics/ChangeLog b/x11-drivers/synaptics/ChangeLog
index ca080305ae87..5d182e210b4e 100644
--- a/x11-drivers/synaptics/ChangeLog
+++ b/x11-drivers/synaptics/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-drivers/synaptics
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.38 2008/08/29 20:01:49 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/ChangeLog,v 1.39 2008/08/30 22:33:16 calchan Exp $
+
+*synaptics-0.14.6_p20070706-r1 (30 Aug 2008)
+
+ 30 Aug 2008; Denis Dupeyron <calchan@gentoo.org>
+ -synaptics-0.14.6_p20070706.ebuild, +synaptics-0.14.6_p20070706-r1.ebuild:
+ Fixed linking and handling of LDFLAGS.
*synaptics-0.14.6_p20070706 (29 Aug 2008)
diff --git a/x11-drivers/synaptics/synaptics-0.14.6_p20070706.ebuild b/x11-drivers/synaptics/synaptics-0.14.6_p20070706-r1.ebuild
index 54fb480c3367..7ea422e23863 100644
--- a/x11-drivers/synaptics/synaptics-0.14.6_p20070706.ebuild
+++ b/x11-drivers/synaptics/synaptics-0.14.6_p20070706-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6_p20070706.ebuild,v 1.1 2008/08/29 20:01:49 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/synaptics/synaptics-0.14.6_p20070706-r1.ebuild,v 1.1 2008/08/30 22:33:17 calchan Exp $
inherit toolchain-funcs eutils linux-info
@@ -52,10 +52,12 @@ pkg_setup() {
src_unpack() {
unpack ${A} ; cd "${S}"
- # Switch up the CC and CFLAGS stuff.
+ # Switch up the CC, CFLAGS and LDFLAGS stuff.
sed -i \
- -e "s:CC = gcc:CC = $(tc-getCC):g" \
- -e "s:CDEBUGFLAGS = -O2:CDEBUGFLAGS = ${CFLAGS}:g" \
+ -e "s:CC = gcc:CC = $(tc-getCC) ${CFLAGS} ${LDFLAGS}:g" \
+ -e "/CC = / a\
+LD = \$(CC)" \
+ -e "s:\$(CDEBUGFLAGS)::g" \
"${S}"/Makefile
# Fix grabbing of event devices so it will not stop working together with