git: b70f5cb56481 - main - www/onlyoffice-documentserver: Fix build with MYSQL option

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Mon, 28 Mar 2022 10:24:41 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b70f5cb56481d154c8fbea76ca7441480ba98945

commit b70f5cb56481d154c8fbea76ca7441480ba98945
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-03-28 06:49:15 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-03-28 10:21:00 +0000

    www/onlyoffice-documentserver: Fix build with MYSQL option
    
    Add missing "localbase" to the USES list.
    
    Error message:
    Error: Command failed: /bin/sh -c ./configure --with-system-zlib --with-system-libpng --prefix="/wrkdirs/usr/ports/www/onlyoffice-documentserver/work/DocumentServer-7.0.1/web-apps/build/node_modules/optipng-bin/vendor" --bindir="/wrkdirs/usr/ports/www/onlyoffice-documentserver/work/DocumentServer-7.0.1/web-apps/build/node_modules/optipng-bin/vendor"
    
    Checking for system libpng...
    ./configure: error: missing libpng or incorrect libpng version
    ./configure: note: libpng version 1.2.9 or higher is required
    
    Reported and tested by: Martin Waschbüsch
---
 www/onlyoffice-documentserver/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile
index 2b93a2b48849..164bb29a058c 100644
--- a/www/onlyoffice-documentserver/Makefile
+++ b/www/onlyoffice-documentserver/Makefile
@@ -36,7 +36,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor@${PY_FLA
 		rabbitmq>0:net/rabbitmq \
 		webfonts>=0:x11-fonts/webfonts
 
-USES=		autoreconf:build dos2unix fakeroot gmake gnome iconv nodejs:16,build pkgconfig \
+USES=		autoreconf:build dos2unix fakeroot gmake gnome iconv localbase nodejs:16,build pkgconfig \
 		python:3.7+,build qt:5
 USE_QT=		qmake_build
 USE_GITHUB=	yes