freebsd-ports/databases/py-xapian/files/patch-configure
Sunpoet Po-Chuan Hsieh 73bd061b02 Update BUILD_DEPENDS: restrict py-sphinx to DOCS option
PR:		219249
Reported by:	Gerrit Beine <mail+freebsd@gerritbeine.de>
2018-01-25 13:06:23 +00:00

24 lines
1,015 B
Text

--- configure.orig 2017-10-16 02:32:59 UTC
+++ configure
@@ -17105,10 +17105,6 @@ $as_echo "yes" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- if test yes = "$with_python" ; then
- as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python2 - try package python-sphinx" "$LINENO" 5
- fi
- PYTHON2=
fi
if test -n "$PYTHON2" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON2_INC/Python.h" >&5
@@ -17292,10 +17288,6 @@ $as_echo "yes" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- if test yes = "$with_python3" ; then
- as_fn_error $? "Couldn't import sphinx module and call sphinx.main() for Python3 - try package python3-sphinx" "$LINENO" 5
- fi
- PYTHON3=
fi
if test -n "$PYTHON3" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON3_INC/Python.h" >&5