$NetBSD: patch-misc_yosys-config.in,v 1.2 2024/09/07 02:10:29 thorpej Exp $ Fix unportable test(1) operator. --- misc/yosys-config.in.orig 2024-09-07 02:04:12.105679875 +0000 +++ misc/yosys-config.in 2024-09-07 02:04:20.346019658 +0000 @@ -44,7 +44,7 @@ if [ $# -eq 0 ]; then help fi -if [ "$1" == "--build" ]; then +if [ "$1" = "--build" ]; then modname="$2"; shift 2 set -- --exec --cxx --cxxflags --ldflags -o "$modname" -shared "$@" --libs fi