$NetBSD: patch-misc_yosys-config.in,v 1.1 2024/03/27 22:52:32 wiz Exp $ Fix unportable test(1) operator. --- misc/yosys-config.in.orig 2024-03-27 22:39:39.906540821 +0000 +++ misc/yosys-config.in @@ -42,7 +42,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 "$@" --ldlibs fi