openbsd-ports/x11/windowmaker/patches/patch-WindowMaker_Defaults_Makefile_in
solene 54285bb446 Update to windowmaker-0.95.9
Patch from new maintainer Michael <michi plus openbsd at dataswamp dot org>
2020-05-27 09:07:54 +00:00

20 lines
782 B
Plaintext

$OpenBSD: patch-WindowMaker_Defaults_Makefile_in,v 1.3 2020/05/27 09:07:55 solene Exp $
Index: WindowMaker/Defaults/Makefile.in
--- WindowMaker/Defaults/Makefile.in.orig
+++ WindowMaker/Defaults/Makefile.in
@@ -562,12 +562,13 @@ WMWindowAttributes: $(srcdir)/WMWindowAttributes.in
WindowMaker: $(srcdir)/WindowMaker.in
$(AM_V_GEN)sed -e "s:#pkgdatadir#:$(pkgdatadir):" \
+ -e "s:#prefix#:$(prefix):" \
-e "s:#pixmapdir#:$(pixmapdir):" $(srcdir)/WindowMaker.in \
> WindowMaker ; \
chmod 644 WindowMaker
WMState: $(srcdir)/WMState.in
- $(AM_V_GEN)sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState ; \
+ $(AM_V_GEN)sed -e "s:#wprefs#:${TRUEPREFIX}/bin/WPrefs:" $(srcdir)/WMState.in > WMState ; \
chmod 644 WMState
WMRootMenu: ./../plmenu