summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-02-26 15:20:44 +0000
committerJeroen Roovers <jer@gentoo.org>2009-02-26 15:20:44 +0000
commit78fba823886298f6872b6aa461fbe98ea534c3d8 (patch)
treedcdf4677655e36cdf03af658cea8f8609bf6fed1 /x11-terms/yeahconsole
parent* version bump (diff)
downloadgentoo-2-78fba823886298f6872b6aa461fbe98ea534c3d8.tar.gz
gentoo-2-78fba823886298f6872b6aa461fbe98ea534c3d8.tar.bz2
gentoo-2-78fba823886298f6872b6aa461fbe98ea534c3d8.zip
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)
Diffstat (limited to 'x11-terms/yeahconsole')
-rw-r--r--x11-terms/yeahconsole/ChangeLog7
-rw-r--r--x11-terms/yeahconsole/files/yeahconsole-0.3.4-make.patch10
2 files changed, 12 insertions, 5 deletions
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 <jer@gentoo.org>
+ 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 <jer@gentoo.org> 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)