shithub: tlsclient

Download patch

ref: e9b045956ac6aa241777d15e52d87c87dd7c6d80
parent: d83385cd5d32556689571cf52c64ebbcedebe96b
author: Jacob Moody <moody@posixcafe.org>
date: Thu Jul 20 13:54:45 EDT 2023

fix install calls for macos

--- a/Makefile
+++ b/Makefile
@@ -56,13 +56,15 @@
 
 .PHONY: tlsclient.install
 tlsclient.install: tlsclient tlsclient.1
-	install -Dm755 -t $(PREFIX)/bin tlsclient
-	install -Dm644 -T tlsclient.1 $(PREFIX)/share/man/man1/tlsclient.1
+	mkdir -p $(PREFIX)/bin $(PREFIX)/share/man/man1
+	install -m755 tlsclient $(PREFIX)/bin/
+	install -m644 tlsclient.1 $(PREFIX)/share/man/man1/
 
 .PHONY: mount.9ptls.install
 mount.9ptls.install: mount.9ptls mount.9ptls.8
-	install -Dm755 -t /sbin mount.9ptls
-	install -Dm644 -T mount.9ptls.8 $(PREFIX)/share/man/man8/mount.9ptls.8
+	mkdir -p $(PREFIX)/share/man/man8/
+	install -m755 mount.9ptls /sbin/
+	install -m644 mount.9ptls.8 $(PREFIX)/share/man/man8/
 
 .PHONY: tlsclient.obsd.install
 tlsclient.obsd.install: tlsclient.obsd login_-dp9ik tlsclient.1 login_-dp9ik.8