ports/x11/windowmaker/patches/patch-WindowMaker_Defaults_Makefile_in

18 lines
694 B
Text

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