git: 0800b0a2e437 - main - deskutils/subsurface: Fix build when building with a single core

From: Romain Tartière <romain_at_FreeBSD.org>
Date: Mon, 12 Dec 2022 05:25:37 UTC
The branch main has been updated by romain:

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

commit 0800b0a2e437e842660eb46a8223f84a89b88d0c
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2022-12-12 05:14:54 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2022-12-12 05:25:22 +0000

    deskutils/subsurface: Fix build when building with a single core
    
    It happens that when building the port with poudriere without
    ALLOW_MAKE_JOBS=yes, the build fail.  I received similar failure reports
    from pkg-fallout but could not reproduce them until today where
    rebuilding llvm on my laptop required me to remove `ALLOW_MAKE_JOBS=yes`
    before I had to rebuild subsurface.
    
    Setting MAKE_JOBS_UNSAFE=yes allowed me to reliably reproduce the
    failure, and relying on GNU make instead of BSD make prevent it.
    
    So use gmake to build subsurface and hopefully say goodbye to the
    pkg-fallout failure notifications \o/.
---
 deskutils/subsurface/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deskutils/subsurface/Makefile b/deskutils/subsurface/Makefile
index 7d9ff3e2ed9a..a06bebb71557 100644
--- a/deskutils/subsurface/Makefile
+++ b/deskutils/subsurface/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libdivecomputer.so:comms/libdc \
 		libcurl.so:ftp/curl \
 		libssh2.so:security/libssh2
 
-USES=		cmake:noninja desktop-file-utils pkgconfig qt:5 gnome qmake:no_configure sqlite
+USES=		cmake:noninja desktop-file-utils gmake pkgconfig qt:5 gnome qmake:no_configure sqlite
 USE_GITHUB=	yes
 GH_TUPLE=	subsurface:googlemaps:7ce7124b385b2ebac0f72c38b094f436d4fe5c58:subsurface/googlemaps
 USE_GNOME=	libxml2 libxslt