pkgsrc-wip/occt/patches/patch-src_DrawResources_InitEnvironment.tcl
Paul Ripke 52593591fd occt: Rename wip/opencascade to wip/occt, and merge in diffs from cad/occt
Tested with wip/prusaslicer and cad/kicad.
2024-02-17 17:44:13 +11:00

16 lines
473 B
Tcl

$NetBSD$
Add NetBSD support.
--- src/DrawResources/InitEnvironment.tcl.orig 2016-04-04 14:58:02.000000000 +0000
+++ src/DrawResources/InitEnvironment.tcl
@@ -30,6 +30,8 @@ proc wokstation {} {
return "lin"
} elseif { [ regexp FreeBSD $LINE_FROM_UNAME ] } {
return "bsd"
+ } elseif { [ regexp NetBSD $LINE_FROM_UNAME ] } {
+ return "bsd"
} elseif { [ regexp Darwin $LINE_FROM_UNAME ] } {
return "mac"
} elseif { [ regexp AIX $LINE_FROM_UNAME ] } {