summaryrefslogtreecommitdiff
path: root/sysutils/bacula/patches/patch-ao
blob: 9ebef6011164c27275a0b8a7f7567d7edaec8d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ao,v 1.6 2011/06/18 10:40:33 shattered Exp $

--- configure.orig	2010-08-05 14:29:51.000000000 +0000
+++ configure
@@ -26254,8 +26254,8 @@ if test "${with_python+set}" = set; then
 		PYTHON_INCDIR=`/usr/bin/python-config --includes`
 		PYTHON_LIBS=`/usr/bin/python-config --libs`
 	     else
-		for python_root in /usr /usr/local /usr/sfw; do
-		   for ver in python2.2 python2.3 python2.4 python2.5 python2.6 python3; do
+		for python_root in ${PREFIX}; do
+		   for ver in python${PYVERSSUFFIX}; do
 		      if test -f $python_root/include/${ver}/Python.h; then
 			 PYTHON_INCDIR=-I$python_root/include/${ver}
 			 if test -d $python_root/lib64/${ver}/config; then
@@ -47521,7 +47523,7 @@ echo "$as_me: error: Could not find qmak
    { (exit 1); exit 1; }; }
    fi
 
-   QMAKEBIN="qmake"
+   QMAKEBIN=${QMAKE}
    cd src/qt-console
    echo "Creating bat Makefile"
    touch bat