diff options
author | David Seifert <soap@gentoo.org> | 2023-02-20 21:51:57 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-02-20 21:51:57 +0100 |
commit | 6349fffa9589daa064140e490ba12c041357bc67 (patch) | |
tree | 3b27574bbe6bc23d056e099a5b2885f25a9dbbcb /x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch | |
parent | x11-wm/goomwwm: drop 9999 (diff) | |
download | gentoo-6349fffa9589daa064140e490ba12c041357bc67.tar.gz gentoo-6349fffa9589daa064140e490ba12c041357bc67.tar.bz2 gentoo-6349fffa9589daa064140e490ba12c041357bc67.zip |
x11-wm/goomwwm: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch')
-rw-r--r-- | x11-wm/goomwwm/files/goomwwm-1.0.0-makefile.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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 |