Thanks. I also had to change MANPREFIX in MAKE_FLAGS to ${TRUEPREFIX}/man. Updated tarball attached.
On Wed, Apr 06, 2016 at 12:56:18AM +0200, Dmitrij D. Czarkoff wrote: > ix said: > > I keep getting an error `hardcoded paths detected in Makefile, > > consider using SUBST_VARS and > > TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE`, so if anyone can tell me > > something about that, that'd be great. > > sxhkd/Makefile > | CFLAGS += -I/usr/X11R6/include > > This should be > > CFLAGS += -I${X11BASE}/include > > sxhkd/patches/patch-Makefile > | $OpenBSD$ > | --- Makefile.orig Tue Mar 15 12:20:41 2016 > | +++ Makefile Tue Apr 5 16:06:10 2016 > | @@ -3,7 +3,7 @@ VERSION := $(shell git describe 2> /dev/null || cat VE > | > | CPPFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" > | CFLAGS += -std=c99 -pedantic -Wall -Wextra > | -LDLIBS = -lxcb -lxcb-keysyms > | +LDLIBS = -L/usr/X11R6/lib -lxcb -lxcb-keysyms > > This should be > > LDLIBS = -L${X11BASE}/lib -lxcb -lxcb-keysyms > > -- > Dmitrij D. Czarkoff >
sxhkd.tar.gz
Description: application/tar-gz