$OpenBSD: patch-Makefile2_m4,v 1.2 2021/02/14 17:08:57 bcallah Exp $

Index: Makefile2.m4
--- Makefile2.m4.orig
+++ Makefile2.m4
@@ -735,9 +735,9 @@ install_notiming: build_all
 	$(INSTALL) sdb $(BINDIR)/sdb-$(VERS)
 	$(INSTALL) snopea $(BINDIR)/snopea-$(VERS)
 	rm -f $(BINDIR)/snobol4 $(BINDIR)/sdb $(BINDIR)/snopea
-	cd $(BINDIR) && ln -s snobol4-$(VERS) snobol4
-	cd $(BINDIR) && ln -s sdb-$(VERS) sdb
-	cd $(BINDIR) && ln -s snopea-$(VERS) snopea
+	$(INSTALL) $(INSTALL_BIN_FLAGS) snobol4 $(BINDIR)/snobol4
+	$(INSTALL) sdb $(BINDIR)/sdb
+	$(INSTALL) snopea $(BINDIR)/snopea
 	$(INSTALL) -d $(MAN1DIR)
 	INSTALL_MAN_PAGES(.,1)
 	INSTALL_MAN_PAGES(doc,1)
