From 3b32ae7547d742f6e65770361188670710bec186 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Feb 2023 02:22:31 +0000 Subject: gentoo auto-resync : 21:02:2023 - 02:22:31 --- x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch (limited to 'x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch') diff --git a/x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch b/x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch new file mode 100644 index 000000000000..b5d7ddb873f5 --- /dev/null +++ b/x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch @@ -0,0 +1,29 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,9 @@ +-CFLAGS?=-Wall -O2 +-LDADD?=$(shell pkg-config --cflags --libs x11 xinerama x11 xft) ++CFLAGS += -Wall ++CPPFLAGS += $(shell $(PKG_CONFIG) --cflags x11 xinerama x11 xft) ++LDLIBS += $(shell $(PKG_CONFIG) --libs x11 xinerama x11 xft) + +-normal: +- $(CC) -o goomwwm goomwwm.c $(CFLAGS) $(LDADD) $(LDFLAGS) +- +-debug: +- $(CC) -o goomwwm-debug goomwwm.c $(CFLAGS) -g -DDEBUG $(LDADD) ++all: goomwwm ++goomwwm.c: proto + + proto: + cat *.c | egrep '^(void|int|char|unsigned|client|Window|winlist|XWindow)' | sed -r 's/\)/);/' > proto.h +@@ -13,7 +11,5 @@ + docs: + pandoc -s -w man goomwwm.md -o goomwwm.1 + +-all: proto normal debug docs +- + clean: +- rm -f goomwwm goomwwm-debug +\ No newline at end of file ++ rm -f goomwwm goomwwm-debug -- cgit v1.2.3