summaryrefslogtreecommitdiff
path: root/sysutils/bup/patches/patch-config_configure
blob: a2b05d9c07c600146f379e58eff141643d3c1dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-config_configure,v 1.2 2013/12/31 11:03:12 wiz Exp $

Use PYTHON passed through from Makefile.

--- config/configure.orig	2013-11-11 08:52:33.000000000 +0000
+++ config/configure
@@ -42,7 +42,7 @@ if [ -z "$MAKE_VERSION" ]; then
 fi
 expr "$MAKE_VERSION" '>=' '3.81' || AC_FAIL "ERROR: $MAKE must be >= version 3.81"
 
-if test -z "$(bup_find_prog python '')"; then
+if test -z "$(bup_find_prog python "$PYTHON")"; then
     AC_FAIL "ERROR: unable to find python"
 fi