The autoconf script for this port ignores any predefined PYTHON environment
variable, so python.port.mk's attempt to set the correct binary fails. Override with a different autoconf variable which also allows removing the patch to configure. Fixes build with MODPY_VERSION=2.6. ok jasper@
This commit is contained in:
parent
dc92eb0df4
commit
6535f07d5f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2009/06/03 16:40:06 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2009/08/09 20:08:04 sthen Exp $
|
||||
|
||||
COMMENT= flexible communications framework, local-link component
|
||||
|
||||
@ -24,7 +24,8 @@ CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
LIBSSL_LIBS="-L/usr/lib -lssl -lcrypto" \
|
||||
LIBSSL_CFLAGS="-I/usr/include"
|
||||
LIBSSL_CFLAGS="-I/usr/include" \
|
||||
ac_cv_prog_PYTHON="${MODPY_BIN}"
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-ssl
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2009/06/03 16:40:06 ajacoutot Exp $
|
||||
--- configure.orig Thu Apr 2 19:23:13 2009
|
||||
+++ configure Tue Jun 2 07:28:00 2009
|
||||
@@ -13502,7 +13502,7 @@ $as_echo "$as_me: error: dbus-binding-tool (from dbus-
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
PYTHON=
|
||||
-for ac_prog in python2.3 python2.4 python2.5 python
|
||||
+for ac_prog in python2.5
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
Loading…
Reference in New Issue
Block a user