aboutsummaryrefslogtreecommitdiffstats
path: root/main/yeahconsole/yeahconsole-0.3.4-make.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-14 02:10:00 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-14 02:10:00 +0000
commit1f684b76d9d9bbf6df7ad8f2e937bc4ede67440f (patch)
tree10aafcf4067ac2f7d226fb0024666926d7bd0617 /main/yeahconsole/yeahconsole-0.3.4-make.patch
parent972e2e79b28f2e7d3ebab0fd3b4a9ca5df676210 (diff)
downloadaports-1f684b76d9d9bbf6df7ad8f2e937bc4ede67440f.tar.bz2
aports-1f684b76d9d9bbf6df7ad8f2e937bc4ede67440f.tar.xz
main/yeahconsole: build fix
Diffstat (limited to 'main/yeahconsole/yeahconsole-0.3.4-make.patch')
-rw-r--r--main/yeahconsole/yeahconsole-0.3.4-make.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/yeahconsole/yeahconsole-0.3.4-make.patch b/main/yeahconsole/yeahconsole-0.3.4-make.patch
new file mode 100644
index 0000000000..0075c43329
--- /dev/null
+++ b/main/yeahconsole/yeahconsole-0.3.4-make.patch
@@ -0,0 +1,30 @@
+--- a/Makefile 2006-01-14 16:54:05.000000000 +0100
++++ b/Makefile 2009-02-26 16:18:25.000000000 +0100
+@@ -1,6 +1,4 @@
+ TARGET = yeahconsole
+-CC = gcc
+-#CC = cc
+ INSTALL = install
+
+ PREFIX = /usr/local
+@@ -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 $@ $<
+- strip $@
++ $(CC) $(FLAGS) $(LDFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -o $@ $< $(LIBS)
+
+ $(OBJECTS): $(SOURCES)
+- $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
++ $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $<
+
+ clean:
+ rm -rf $(TARGET) $(OBJECTS)