- set the python version in a saner way
* no package change, so no bump
This commit is contained in:
parent
8e80b4798d
commit
582482f6d9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2008/12/22 23:52:17 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2008/12/23 00:05:21 jasper Exp $
|
||||
|
||||
COMMENT= flexible communications framework, glib bindings
|
||||
|
||||
@ -22,4 +22,7 @@ USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu autoconf
|
||||
AUTOCONF_VERSION= 2.61
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-configure_ac,v 1.4 2008/12/22 23:52:18 jasper Exp $
|
||||
$OpenBSD: patch-configure_ac,v 1.5 2008/12/23 00:05:21 jasper Exp $
|
||||
--- configure.ac.orig Sun Dec 14 20:20:25 2008
|
||||
+++ configure.ac Tue Dec 23 00:21:19 2008
|
||||
@@ -185,7 +185,7 @@ if test -z "$XSLTPROC"; then
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-configure_ac,v 1.4 2008/12/22 23:52:18 jasper Exp $
|
||||
fi
|
||||
PYTHON=
|
||||
-AC_CHECK_PROGS([PYTHON], [python2.3 python2.4 python2.5 python])
|
||||
+AC_CHECK_PROGS([PYTHON], [python2.5])
|
||||
+AC_CHECK_PROGS([PYTHON], [python${MODPY_VERSION}])
|
||||
if test -z "$PYTHON"; then
|
||||
AC_MSG_ERROR([Python is required to compile this package])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user