summaryrefslogtreecommitdiff
path: root/x11-plugins/gkrellm-countdown/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /x11-plugins/gkrellm-countdown/files
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'x11-plugins/gkrellm-countdown/files')
-rw-r--r--x11-plugins/gkrellm-countdown/files/gkrellm-countdown-0.1.2-r2-pkgconfig.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-countdown/files/gkrellm-countdown-0.1.2-r2-pkgconfig.patch b/x11-plugins/gkrellm-countdown/files/gkrellm-countdown-0.1.2-r2-pkgconfig.patch
new file mode 100644
index 000000000000..a8af1562391c
--- /dev/null
+++ b/x11-plugins/gkrellm-countdown/files/gkrellm-countdown-0.1.2-r2-pkgconfig.patch
@@ -0,0 +1,16 @@
+Have Makefile respect user chosen PKG_CONFIG
+--- a/Makefile
++++ b/Makefile
+@@ -3,8 +3,10 @@
+ # You may want to rename the binary-file.
+ BIN_FILENAME = gkrellm-countdown
+
+-GTK_INCLUDE ?= `pkg-config gtk+-2.0 --cflags`
+-GTK_LIB ?= `pkg-config gtk+-2.0 --libs`
++PKG_CONFIG ?= pkg-config
++
++GTK_INCLUDE ?= $(shell ${PKG_CONFIG} gtk+-2.0 --cflags)
++GTK_LIB ?= $(shell ${PKG_CONFIG} gtk+-2.0 --libs)
+ IMLIB_INCLUDE ?=
+ IMLIB_LIB ?=
+ PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins