$OpenBSD: patch-Makefile_in,v 1.1 2021/01/31 15:16:54 naddy Exp $

installation directories specified using LOCALBASE, and
avoid "$<" to make "make" happy (-:

Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
@@ -325,7 +325,7 @@ bindir = @bindir@
 build_alias = @build_alias@
 builddir = @builddir@
 datadir = @datadir@
-datarootdir = $(shell pkg-config --variable=datarootdir xt)
+datarootdir = ${LOCALBASE}/share
 docdir = @docdir@
 dvidir = @dvidir@
 exec_prefix = @exec_prefix@
@@ -353,7 +353,7 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-appdefaultdir = $(shell pkg-config --variable=appdefaultdir xt)
+appdefaultdir = ${LOCALBASE}/lib/X11/app-defaults
 SUBDIRS = .
 man_MANS = xvkbd.1
 xvkbd_SOURCES = xvkbd.c findwidget.c resources.h XVkbd-common.h
@@ -982,7 +982,7 @@ uninstall-man: uninstall-man1
 
 xvkbd.1: xvkbd.man
 	[ ! -e $@ ] ||  rm $@
-	-ln -s $< $@
+	-ln -s xvkbd.man $@
 
 XVkbd-common.h: XVkbd-common.ad
 	[ which ad2c > /dev/null ] || ad2c XVkbd-common.ad > XVkbd-common.h
