diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2008-05-24 05:27:17 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2008-05-24 05:27:17 +0000 |
commit | e39c0ec06b5725d28782835773aa7d1d0436b93d (patch) | |
tree | 9a909acfbde2fa3ab2e1c1be29d4ed15a3161b7e /textproc/libxml2/files/patch-configure | |
parent | Update to 2.22.2. (diff) |
Update to 2.6.32. As for the py-libxml2, get it able to find Python correct
when PREFIX is set other than LOCALBASE and will allowing the modules to build.
Notes
Notes:
svn path=/head/; revision=213579
Diffstat (limited to 'textproc/libxml2/files/patch-configure')
-rw-r--r-- | textproc/libxml2/files/patch-configure | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/libxml2/files/patch-configure b/textproc/libxml2/files/patch-configure new file mode 100644 index 000000000000..82e883f0f11b --- /dev/null +++ b/textproc/libxml2/files/patch-configure @@ -0,0 +1,16 @@ +--- configure.orig 2008-05-24 00:14:51.000000000 -0500 ++++ configure 2008-05-24 00:17:51.000000000 -0500 +@@ -27275,11 +27275,12 @@ + fi + if test "$PYTHON_VERSION" != "" + then ++ with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` + if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ + -d $with_python/lib/python$PYTHON_VERSION/site-packages + then + PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION +- PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages ++ PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages + else + if test -r $prefix/include/python$PYTHON_VERSION/Python.h + then |