diff options
author | Thomas Bracht Laumann Jespersen <t@laumann.xyz> | 2022-03-25 16:10:45 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-21 20:54:32 +0100 |
commit | 68b51f9a0551ab8eb4a4690f613f2550558eedcc (patch) | |
tree | a8a1c15521d1a05dbb88baa65736bf6a94519359 /x11-plugins/gkrellm-trayicons/files | |
parent | x11-plugins/gkrellm-mailwatch: update EAPI 6 -> 8 (diff) | |
download | gentoo-68b51f9a0551ab8eb4a4690f613f2550558eedcc.tar.gz gentoo-68b51f9a0551ab8eb4a4690f613f2550558eedcc.tar.bz2 gentoo-68b51f9a0551ab8eb4a4690f613f2550558eedcc.zip |
x11-plugins/gkrellm-trayicons: update EAPI 6 -> 8
Add patch to respect PKG_CONFIG.
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-plugins/gkrellm-trayicons/files')
-rw-r--r-- | x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-pkgconfig.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-pkgconfig.patch b/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-pkgconfig.patch new file mode 100644 index 000000000000..02d4c150dd3e --- /dev/null +++ b/x11-plugins/gkrellm-trayicons/files/gkrellm-trayicons-1.03-pkgconfig.patch @@ -0,0 +1,18 @@ +Have Makefile respect user-configured pkg-config +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,11 @@ + + VERSION = `cat VERSION` + PREFIX ?= /usr/local +-GTK_CONFIG = pkg-config gtk+-2.0 ++PKG_CONFIG ?= pkg-config + PLUGIN_DIR ?= $(PREFIX)/lib/gkrellm2/plugins + GKRELLM_INCLUDE = -I$(PREFIX)/include +-GTK_CFLAGS = `$(GTK_CONFIG) --cflags` +-GTK_LIB = `$(GTK_CONFIG) --libs` ++GTK_CFLAGS = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags) ++GTK_LIB = $(shell ${PKG_CONFIG} gtk+-2.0 --libs) + FLAGS = -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE) + CFLAGS += $(FLAGS) + CFLAGS += -DVERSION=\"$(VERSION)\" |