Files
macports-ports/security/pass/files/patch-getopt-path.diff
Vadim-Valdis YudaevandRenee Otten 92af7f6bfe pass: Update to 1.7.4 and remove variants
Changes:
* Update to 1.7.4
* Move completion variants to destroot
2021-06-12 23:28:15 -04:00

11 lines
450 B
Diff

--- 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"