Add patches missed on last commit and fix build without python
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= bitlbee
|
||||
PORTVERSION= 3.5.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= http://get.bitlbee.org/src/ \
|
||||
LOCAL/brix
|
||||
|
||||
18
irc/bitlbee/files/patch-configure
Normal file
18
irc/bitlbee/files/patch-configure
Normal file
@@ -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
|
||||
10
irc/bitlbee/files/patch-doc_Makefile
Normal file
10
irc/bitlbee/files/patch-doc_Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
--- doc/Makefile.orig 2017-01-30 20:45:59 UTC
|
||||
+++ doc/Makefile
|
||||
@@ -4,7 +4,6 @@ _SRCDIR_ := $(_SRCDIR_)doc/
|
||||
endif
|
||||
|
||||
all:
|
||||
- $(MAKE) -C user-guide
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(MANDIR)/man8/ $(DESTDIR)$(MANDIR)/man5/
|
||||
Reference in New Issue
Block a user