summaryrefslogtreecommitdiff
path: root/irc/bitlbee/files/patch-configure
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2017-06-29 10:55:30 +0000
committerRenato Botelho <garga@FreeBSD.org>2017-06-29 10:55:30 +0000
commit20bbff0aea87cd1a15105a20404d1d9bb4e86daa (patch)
treece46ecbaa5723c720aec6861a0a01b7ea62235c6 /irc/bitlbee/files/patch-configure
parentwww/node: Update 8.1.2 -> 8.1.3 (diff)
Add patches missed on last commit and fix build without python
Notes
Notes: svn path=/head/; revision=444642
Diffstat (limited to 'irc/bitlbee/files/patch-configure')
-rw-r--r--irc/bitlbee/files/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/irc/bitlbee/files/patch-configure b/irc/bitlbee/files/patch-configure
new file mode 100644
index 000000000000..adc8931b7321
--- /dev/null
+++ b/irc/bitlbee/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig 2017-01-30 20:45:59 UTC
++++ configure
+@@ -743,15 +743,7 @@ if [ -z "$PYTHON" ]; then
+ fi
+
+ if [ "$doc" = "1" ]; then
+- # check this here just in case someone tries to install it in python2.4...
+- if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then
+- echo
+- echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs'
+- echo "(Use the PYTHON environment variable if it's in a weird location)"
+- exit 1
+- fi
+ echo "DOC=1" >> Makefile.settings
+- echo "PYTHON=$PYTHON" >> Makefile.settings
+ fi
+
+ get_version