- fix build with python 2.4 is also installed

no bump required as nothing changes for system that only have 2.5,
and if python 2.4 was present, it didn't build anyway.

spotted by naddy@, thanks!
This commit is contained in:
jasper 2008-11-04 22:48:17 +00:00
parent 84d1740ab5
commit 626409e000
2 changed files with 16 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2008/10/30 11:37:39 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2008/11/04 22:48:17 jasper Exp $
COMMENT= abstraction layer between apps and connection managers
@ -31,4 +31,7 @@ CONFIGURE_ARGS+= --enable-keyring=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2008/11/04 22:48:17 jasper Exp $
--- configure.orig Wed Jul 16 08:36:39 2008
+++ configure Tue Nov 4 23:45:02 2008
@@ -20238,7 +20238,7 @@ echo "$as_me: error: xsltproc (from the libxslt source
fi
PYTHON=
-for ac_prog in python2.3 python2.4 python2.5 python
+for ac_prog in python${MODPY_VERSION}
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2