summaryrefslogtreecommitdiff
path: root/devel/ruby-pycall/patches/patch-lib_pycall_libpython_finder.rb
blob: 6c34cbb93c4c865388b8f9c5cecb7e159bd32978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-lib_pycall_libpython_finder.rb,v 1.1 2020/09/20 08:34:37 ryoon Exp $

* Detect Python command from pkgsrc.

--- lib/pycall/libpython/finder.rb.orig	2020-09-18 09:47:08.145777201 +0000
+++ lib/pycall/libpython/finder.rb
@@ -20,6 +20,7 @@ module PyCall
 
       class << self
         DEFAULT_PYTHON = [
+          -'@PYTHONBIN@',
           -'python3',
           -'python',
         ].freeze