From 78fba823886298f6872b6aa461fbe98ea534c3d8 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Thu, 26 Feb 2009 15:20:44 +0000 Subject: Slightly nicer patch to apply CFLAGS as intended and to apply CFLAGS and LDFLAGS to TARGET was well. (Portage version: 2.2_rc23/cvs/Linux i686) --- x11-terms/yeahconsole/ChangeLog | 7 ++++++- x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch | 10 ++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'x11-terms/yeahconsole') diff --git a/x11-terms/yeahconsole/ChangeLog b/x11-terms/yeahconsole/ChangeLog index ea2b6f3a985b..2065d0cbef84 100644 --- a/x11-terms/yeahconsole/ChangeLog +++ b/x11-terms/yeahconsole/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-terms/yeahconsole # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-terms/yeahconsole/ChangeLog,v 1.3 2009/02/25 17:12:41 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-terms/yeahconsole/ChangeLog,v 1.4 2009/02/26 15:20:43 jer Exp $ + + 26 Feb 2009; Jeroen Roovers + files/yeahconsole-0.3.4-make.patch: + Slightly nicer patch to apply CFLAGS as intended and to apply CFLAGS and + LDFLAGS to TARGET was well. 25 Feb 2009; Jeroen Roovers yeahconsole-0.3.4.ebuild: Marked ~hppa too. diff --git a/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch b/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch index 7f0ef1347fa0..a3ffa5ba4b61 100644 --- a/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch +++ b/x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch @@ -1,5 +1,5 @@ --- yeahconsole-0.3.4/Makefile.orig 2006-01-14 16:54:05.000000000 +0100 -+++ yeahconsole-0.3.4/Makefile 2009-02-25 17:12:05.000000000 +0100 ++++ yeahconsole-0.3.4/Makefile 2009-02-26 16:18:25.000000000 +0100 @@ -1,6 +1,4 @@ TARGET = yeahconsole -CC = gcc @@ -7,22 +7,24 @@ INSTALL = install PREFIX = /usr/local -@@ -8,17 +6,15 @@ +@@ -8,17 +6,16 @@ LIBS = -lX11 INCLUDES = -I/usr/X11R6/include LIB_DIRS = -L/usr/X11R6/lib -FLAGS = -Os -Wall ++FLAGS = -Wall $(CFLAGS) OBJECTS := yeahconsole.o SOURCES := yeahconsole.c $(TARGET): $(OBJECTS) - $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< +- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< - strip $@ ++ $(CC) $(FLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< $(OBJECTS): $(SOURCES) - $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $< -+ $(CC) $(CFLAGS) -Wall $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $< ++ $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $< clean: rm -rf $(TARGET) $(OBJECTS) -- cgit v1.2.3-65-gdbad