diff options
Diffstat (limited to 'devel/apenwarr-redo/patches/patch-redo_whichpython.do')
-rw-r--r-- | devel/apenwarr-redo/patches/patch-redo_whichpython.do | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/apenwarr-redo/patches/patch-redo_whichpython.do b/devel/apenwarr-redo/patches/patch-redo_whichpython.do new file mode 100644 index 00000000000..655b823a771 --- /dev/null +++ b/devel/apenwarr-redo/patches/patch-redo_whichpython.do @@ -0,0 +1,14 @@ +$NetBSD: patch-redo_whichpython.do,v 1.1 2020/03/30 08:02:22 schmonz Exp $ + +Avoid finding pkg_alternatives(8) wrapper, or really any interpreter +besides the one explicitly depended on. + +--- redo/whichpython.do.orig 2020-03-04 20:00:34.000000000 +0000 ++++ redo/whichpython.do +@@ -1,5 +1,5 @@ + exec >&2 +-for py in intentionally-missing python python3 python2 python2.7; do ++for py in intentionally-missing @PYTHONBIN@; do + echo "Trying: $py" + cmd=$(command -v "$py" || true) + out=$($cmd -c 'print("success")' 2>/dev/null) || true |