freebsd-ports/textproc/libxslt/files/patch-configure
2009-09-18 19:41:09 +00:00

25 lines
971 B
Text

--- configure.orig 2009-09-18 15:31:26.000000000 -0400
+++ configure 2009-09-18 15:35:31.000000000 -0400
@@ -4770,7 +4770,7 @@ fi
if test "${with_html_subdir+set}" = set; then
withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
else
- HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
+ HTML_DIR="$HTML_DIR/\$(PACKAGE)"
fi
@@ -15572,11 +15572,12 @@ except: print 0"`
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