--- src/platform/darwin.sh.orig	2021-06-11 19:49:06.000000000 +0300
+++ src/platform/darwin.sh	2021-06-12 20:53:28.000000000 +0300
@@ -39,6 +39,6 @@
 	fi
 }
 
-GETOPT="$({ test -x /usr/local/opt/gnu-getopt/bin/getopt && echo /usr/local/opt/gnu-getopt; } || brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt"
+GETOPT=@@PREFIX@@/bin/getopt
 SHRED="srm -f -z"
 BASE64="openssl base64"
