From 7d14452a51fd4d9c05018e8607a9e2147edc3e89 Mon Sep 17 00:00:00 2001 From: "T. Kurt Bond" Date: Fri, 17 Jan 2025 08:10:47 -0500 Subject: [PATCH] Don't try to uninstall the shared libraries unless the directory exists. Otherwise it fails on OpenBSD during the first installation with: ldconfig: /usr/local/sw/versions/voc/git/lib: No such file or directory --- src/tools/make/oberon.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/make/oberon.mk b/src/tools/make/oberon.mk index dd1610bb..04d08af6 100644 --- a/src/tools/make/oberon.mk +++ b/src/tools/make/oberon.mk @@ -189,8 +189,8 @@ installable: uninstall: installable @printf '\nUninstalling from \"$(INSTALLDIR)\"\n' + @[ -d "$(INSTALLDIR)/lib" ] && sh src/tools/make/addlibrary.sh uninstall "$(INSTALLDIR)/lib" $(ONAME) || echo nolibdir, skipping rm -rf "$(INSTALLDIR)" - @sh src/tools/make/addlibrary.sh uninstall "$(INSTALLDIR)/lib" $(ONAME) # install: Use only after a successful full build. Installs the compiler