freebsd-ports/x11-wm/devilspie2/files/patch-Makefile
Milan Obuch d238d5a277 x11-wm/devilspie2: Add new port
Add a new port, devilspie2, based on original devilspie, replacing its
configuration file syntax with Lua based one, easier to maintain.

devilspie2 port is based on original x11-wm/devilspie port, tuned to changed
sources in the process.

PR:             264378
2022-06-15 11:40:55 +02:00

14 lines
836 B
Text

--- Makefile.orig 2017-09-26 15:03:36.000000000 +0200
+++ Makefile 2021-10-31 09:13:11.132643000 +0100
@@ -59,9 +59,9 @@
PKG_WNCK=libwnck-3.0
endif
-LIB_CFLAGS=$(shell pkg-config --cflags --silence-errors $(PKG_GTK) $(PKG_WNCK) lua5.1 || pkg-config --cflags $(PKG_GTK) $(PKG_WNCK) lua)
+LIB_CFLAGS=$(shell pkg-config --cflags --silence-errors $(PKG_GTK) $(PKG_WNCK) lua-5.1 || pkg-config --cflags $(PKG_GTK) $(PKG_WNCK) lua)
STD_LDFLAGS=
-LIBS=-lX11 $(shell pkg-config --libs --silence-errors $(PKG_GTK) $(PKG_WNCK) lua5.1 || pkg-config --libs $(PKG_GTK) $(PKG_WNCK) lua)
+LIBS=-lX11 $(shell pkg-config --libs --silence-errors $(PKG_GTK) $(PKG_WNCK) lua-5.1 || pkg-config --libs $(PKG_GTK) $(PKG_WNCK) lua)
LOCAL_CFLAGS=$(STD_CFLAGS) $(DEPRECATED) $(CFLAGS) $(LIB_CFLAGS)
LOCAL_LDFLAGS=$(STD_CFLAGS) $(LDFLAGS) $(STD_LDFLAGS)