aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-21 04:46:56 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-21 04:46:56 +0000
commitee6bcedc75be694ce3453e51682f297a54003e58 (patch)
tree4b780732e5a0acdf39460caaec0258bc883bc022
parent52e05cc1bac2ebcfb6b3286538ece50a294fa2f6 (diff)
downloadutmps-ee6bcedc75be694ce3453e51682f297a54003e58.tar.gz
Fix dotpc and Solaris build
-rw-r--r--Makefile1
-rwxr-xr-xpatch-for-solaris2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a8af4b4..62bc1a1 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ endif
lib$(2).pc:
exec env \
+ prefix="$(prefix)" \
library="$(2)" \
includedir="$(includedir)" \
dynlibdir="$(dynlibdir)" \
diff --git a/patch-for-solaris b/patch-for-solaris
index ccb17f7..f209bab 100755
--- a/patch-for-solaris
+++ b/patch-for-solaris
@@ -14,6 +14,8 @@ mv -f configure.tmp configure
patchit ./configure
patchit ./tools/install.sh
patchit ./tools/gen-deps.sh
+patchit ./tools/gen-dotpc.sh
+patchit ./tools/run-test.sh
echo 'SHELL := /usr/xpg4/bin/sh' > Makefile.tmp
echo >> Makefile.tmp