shithub: drawterm

Download patch

ref: 46877c21313943940e821259e8b3b8f6b3d897aa
parent: ed9cff5a4c39322744c4708699c9ae6651b7c9ab
author: Noam Preil <[email protected]>
date: Thu Mar 16 23:35:02 EDT 2023

fix CONF=pthread.

I doubt anyone cares, but it's been broken since '16.
Might as well?

--- a/Make.pthread
+++ b/Make.pthread
@@ -19,4 +19,5 @@
 all: default
 
 libmachdep.a:
-	(cd posix-port &&  make)
+	arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/; s/armv[567].*/arm/; s/aarch64/arm64/'`; \
+	(cd posix-$$arch &&  make)