From 524be348614c50856719a5ca4897daf72c9fe181 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 24 May 2016 17:06:06 +0200 Subject: [PATCH] yeahconsole: pass CFLAGS and LDFLAGS. --- srcpkgs/yeahconsole/patches/make.patch | 16 ++++++++++++++++ srcpkgs/yeahconsole/template | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/yeahconsole/patches/make.patch diff --git a/srcpkgs/yeahconsole/patches/make.patch b/srcpkgs/yeahconsole/patches/make.patch new file mode 100644 index 00000000000..321aa6b2701 --- /dev/null +++ b/srcpkgs/yeahconsole/patches/make.patch @@ -0,0 +1,16 @@ +--- Makefile ++++ Makefile +@@ -14,11 +14,11 @@ OBJECTS := yeahconsole.o + SOURCES := yeahconsole.c + + $(TARGET): $(OBJECTS) +- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< ++ $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $< $(LDFLAGS) + strip $@ + + $(OBJECTS): $(SOURCES) +- $(CC) $(FLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $< ++ $(CC) $(FLAGS) $(CFLAGS) $(DEFINES) $(INCLUDES) $(LIB_DIRS) -c -o $@ $< + + clean: + rm -rf $(TARGET) $(OBJECTS) diff --git a/srcpkgs/yeahconsole/template b/srcpkgs/yeahconsole/template index 2db68359781..fb207ef9dbf 100644 --- a/srcpkgs/yeahconsole/template +++ b/srcpkgs/yeahconsole/template @@ -1,7 +1,7 @@ # Template file for 'yeahconsole' pkgname=yeahconsole version=0.3.4 -revision=1 +revision=2 build_style=gnu-makefile makedepends="libX11-devel" short_desc="Turns an xterm or rxvt-unicode into a game-like console"