openbsd-ports/devel/subversion/patches/patch-configure_ac

31 lines
1.2 KiB
Plaintext
Raw Normal View History

2010-09-03 15:49:12 -04:00
$OpenBSD: patch-configure_ac,v 1.5 2010/09/03 19:49:12 sthen Exp $
--- configure.ac.orig Tue Oct 13 17:09:30 2009
+++ configure.ac Fri Sep 3 20:48:24 2010
@@ -6,7 +6,7 @@ AC_PREREQ(2.58)
dnl Get the version of Subversion, using m4's esyscmd() command to do this
dnl at m4-time, since AC_INIT() requires it then.
AC_INIT([subversion],
- [esyscmd(python build/getversion.py SVN subversion/include/svn_version.h)],
+ [esyscmd(${MODPY_BIN} build/getversion.py SVN subversion/include/svn_version.h)],
[http://subversion.tigris.org/])
AC_CONFIG_SRCDIR(subversion/include/svn_types.h)
2010-09-03 15:49:12 -04:00
@@ -60,7 +60,7 @@ if test "$INSTALL" = "build/install-sh -c"; then
INSTALL="$abs_srcdir/$INSTALL"
fi
-AC_SUBST([MKDIR], ["$INSTALL -d"])
+AC_SUBST([MKDIR], ["/bin/mkdir -p"])
# ==== Libraries, for which we may have source to build ======================
2010-09-03 15:49:12 -04:00
@@ -769,7 +769,7 @@ AS_HELP_STRING([--enable-gprof],
# Python: Used for testsuite, and bindings
-PYTHON="`$abs_srcdir/build/find_python.sh`"
+PYTHON=${MODPY_BIN}
if test -z "$PYTHON"; then
AC_MSG_WARN([Python 2.4 or later is required to run the testsuite])
AC_MSG_WARN([or to use the Subversion Python bindings])