shithub: tlsclient

Download patch

ref: 12500b6a21583fc1b314b7c604962a908a9a6f3b
parent: e9b045956ac6aa241777d15e52d87c87dd7c6d80
author: Jacob Moody <[email protected]>
date: Thu Jul 20 16:21:05 EDT 2023

add SBIN override option

--- a/Make.config
+++ b/Make.config
@@ -3,4 +3,5 @@
 CFLAGS=-Wall -Wno-missing-braces -Wno-parentheses -ggdb -I$(ROOT) -I$(ROOT)/include -c -D_THREAD_SAFE -O2 -fPIC
 O=o
 PREFIX ?= /usr
+SBIN ?= /sbin
 OPENSSL ?= openssl
--- a/Makefile
+++ b/Makefile
@@ -62,8 +62,8 @@
 
 .PHONY: mount.9ptls.install
 mount.9ptls.install: mount.9ptls mount.9ptls.8
-	mkdir -p $(PREFIX)/share/man/man8/
-	install -m755 mount.9ptls /sbin/
+	mkdir -p $(PREFIX)/share/man/man8/ $(SBIN)
+	install -m755 mount.9ptls $(SBIN)
 	install -m644 mount.9ptls.8 $(PREFIX)/share/man/man8/
 
 .PHONY: tlsclient.obsd.install