1--- main.mk.orig 2025-06-28 14:24:16 UTC 2+++ main.mk 3@@ -140,6 +140,7 @@ libdir ?= $(exec_prefix)/lib 4 exec_prefix ?= $(prefix) 5 bindir ?= $(exec_prefix)/bin 6 libdir ?= $(exec_prefix)/lib 7+libdatadir ?= $(exec_prefix)/libdata 8 # This makefile does not use any of: 9 # sbindir ?= $(exec_prefix)/sbin 10 # sysconfdir ?= /etc 11@@ -469,7 +470,7 @@ install-dir.include = $(DESTDIR)$(includedir) 12 install-dir.bin = $(DESTDIR)$(bindir) 13 install-dir.lib = $(DESTDIR)$(libdir) 14 install-dir.include = $(DESTDIR)$(includedir) 15-install-dir.pkgconfig = $(DESTDIR)$(libdir)/pkgconfig 16+install-dir.pkgconfig = $(DESTDIR)$(libdatadir)/pkgconfig 17 install-dir.man1 = $(DESTDIR)$(mandir)/man1 18 install-dir.all = $(install-dir.bin) $(install-dir.include) \ 19 $(install-dir.lib) $(install-dir.man1) \ 20@@ -1810,7 +1811,7 @@ tcltest: ./testfixture$(T.exe) 21 # The veryquick.test TCL tests. 22 # 23 tcltest: ./testfixture$(T.exe) 24- ./testfixture$(T.exe) $(TOP)/test/veryquick.test $(TESTOPTS) 25+ mkdir $(TOP)/testdir && touch $(TOP)/test-out.txt && chown nobody $(TOP)/testdir $(TOP)/test-out.txt && su -m nobody -c "./testfixture$(T.exe) $(TOP)/test/veryquick.test $(TESTOPTS)" 26 27 # 28 # Runs all the same tests cases as the "tcltest" target but uses 29