sysutils/cpuid-tycho: new port

This commit is contained in:
c0dev0id
2026-07-08 11:14:16 +02:00
parent 7f2ab0a62e
commit a834a66cbf
6 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
$OpenBSD$
Index: GNUmakefile
--- GNUmakefile.orig
+++ GNUmakefile
@@ -7,6 +7,11 @@ uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo
prefix := /usr/local
bindir := $(prefix)/bin
+ifeq ($(uname_S),OpenBSD)
+CFLAGS += -pthread
+LDFLAGS += -pthread
+endif
+
ifneq ($(findstring MINGW,$(uname_S)),)
win32 = Yep
endif