summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2008-10-06 17:13:50 +0000
committerHarald van Dijk <truedfx@gentoo.org>2008-10-06 17:13:50 +0000
commit37c159ee928760abb3421e1ff4432b0325ca1e3c (patch)
tree9c2bee2cb18e36f2bb2d2528370886afbd5c013a /x11-wm/sawfish
parentVersion bump <http://my.opera.com/desktopteam/blog/2008/10/04/opera-9-6-rc-2>... (diff)
downloadgentoo-2-37c159ee928760abb3421e1ff4432b0325ca1e3c.tar.gz
gentoo-2-37c159ee928760abb3421e1ff4432b0325ca1e3c.tar.bz2
gentoo-2-37c159ee928760abb3421e1ff4432b0325ca1e3c.zip
Use CFLAGS when compiling gtk-style
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'x11-wm/sawfish')
-rw-r--r--x11-wm/sawfish/ChangeLog6
-rw-r--r--x11-wm/sawfish/files/sawfish-1.3.3-cflags.patch11
-rw-r--r--x11-wm/sawfish/sawfish-1.3.3.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/x11-wm/sawfish/ChangeLog b/x11-wm/sawfish/ChangeLog
index 51c1b67d3bea..9323fa2034d4 100644
--- a/x11-wm/sawfish/ChangeLog
+++ b/x11-wm/sawfish/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-wm/sawfish
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/ChangeLog,v 1.88 2008/05/20 19:13:50 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/ChangeLog,v 1.89 2008/10/06 17:13:50 truedfx Exp $
+
+ 06 Oct 2008; Harald van Dijk <truedfx@gentoo.org>
+ +files/sawfish-1.3.3-cflags.patch, sawfish-1.3.3.ebuild:
+ Use CFLAGS when compiling gtk-style
20 May 2008; Harald van Dijk <truedfx@gentoo.org>
-files/sawfish-1.3-shading.patch, -files/sawfish-1.3-state-below.patch,
diff --git a/x11-wm/sawfish/files/sawfish-1.3.3-cflags.patch b/x11-wm/sawfish/files/sawfish-1.3.3-cflags.patch
new file mode 100644
index 000000000000..b3cd2f3cdfe7
--- /dev/null
+++ b/x11-wm/sawfish/files/sawfish-1.3.3-cflags.patch
@@ -0,0 +1,11 @@
+--- sawfish-1.3.3/src/Makefile.in
++++ sawfish-1.3.3/src/Makefile.in
+@@ -60,7 +60,7 @@
+ $(rep_DL_LD) $(LDFLAGS) -o $@ $^ $(X11_LIBS) $(REP_LIBS) $(LIBS)
+
+ gtk-style : gtk-style.c
+- $(CC) $(CPPFLAGS) $(GTK_CFLAGS) $(LDFLAGS) -o $@ $< $(GTK_LIBS) $(LIBS)
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(GTK_CFLAGS) $(LDFLAGS) -o $@ $< $(GTK_LIBS) $(LIBS)
+
+ install : all installdirs
+ for p in sawfish; do \
diff --git a/x11-wm/sawfish/sawfish-1.3.3.ebuild b/x11-wm/sawfish/sawfish-1.3.3.ebuild
index b79fc6245ae3..9db6e7865143 100644
--- a/x11-wm/sawfish/sawfish-1.3.3.ebuild
+++ b/x11-wm/sawfish/sawfish-1.3.3.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-wm/sawfish/sawfish-1.3.3.ebuild,v 1.6 2008/05/20 15:26:48 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/sawfish/sawfish-1.3.3.ebuild,v 1.7 2008/10/06 17:13:50 truedfx Exp $
# detect cvs snapshots; fex. 1.3_p20040120
[[ $PV == *_p[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] ]]
@@ -43,6 +43,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/libtool.patch
epatch "${FILESDIR}"/${P}-parallel-make.patch
+ epatch "${FILESDIR}"/${P}-cflags.patch
if (( snapshot )); then
eautoreconf