summaryrefslogtreecommitdiff
path: root/x11-wm/cwm/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-25 11:37:10 +0100
commit38423c67c8a23f6a1bc42038193182e2da3116eb (patch)
tree04e2cf4bd43601b77daa79fe654e409187093c5e /x11-wm/cwm/files
parent623ee73d661e5ed8475cb264511f683407d87365 (diff)
gentoo resync : 25.04.2020
Diffstat (limited to 'x11-wm/cwm/files')
-rw-r--r--x11-wm/cwm/files/cwm-Makefile.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-wm/cwm/files/cwm-Makefile.patch b/x11-wm/cwm/files/cwm-Makefile.patch
new file mode 100644
index 000000000000..56755fe19067
--- /dev/null
+++ b/x11-wm/cwm/files/cwm-Makefile.patch
@@ -0,0 +1,21 @@
+diff --git a/Makefile b/Makefile
+index 74d0d0d..802cd33 100644
+--- a/Makefile
++++ b/Makefile
+@@ -13,12 +13,14 @@ OBJS= calmwm.o screen.o xmalloc.o client.o menu.o \
+ search.o util.o xutil.o conf.o xevents.o group.o \
+ kbfunc.o strlcpy.o strlcat.o y.tab.o \
+ strtonum.o reallocarray.o
++
++PKG_CONFIG?= pkg-config
+
+-CPPFLAGS+= `pkg-config --cflags x11 xft xrandr`
++CPPFLAGS+= `${PKG_CONFIG} --cflags x11 xft xrandr`
+
+ CFLAGS?= -Wall -O2 -g -D_GNU_SOURCE
+
+-LDFLAGS+= `pkg-config --libs x11 xft xrandr`
++LDFLAGS+= `${PKG_CONFIG} --libs x11 xft xrandr`
+
+ MANPREFIX?= ${PREFIX}/share/man
+