git: 565a596c7e28 - main - cad/horizon-eda: Fix build by adding USE_CXXSTD; Add USES=desktop-file-utils

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 10 Jul 2023 04:17:05 UTC
The branch main has been updated by yuri:

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

commit 565a596c7e2854497d8f97d74e05ba866e3c81d0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-10 04:15:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-10 04:17:03 +0000

    cad/horizon-eda: Fix build by adding USE_CXXSTD; Add USES=desktop-file-utils
    
    Reported by:    fallout
---
 cad/horizon-eda/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cad/horizon-eda/Makefile b/cad/horizon-eda/Makefile
index a3770548247a..88683f1a30d7 100644
--- a/cad/horizon-eda/Makefile
+++ b/cad/horizon-eda/Makefile
@@ -24,8 +24,9 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libzip.so:archivers/libzip \
 		libzmq.so:net/libzmq4
 
-USES=		gmake gnome libarchive localbase pkgconfig python:build sqlite # compiler:c++17-lang
+USES=		desktop-file-utils gmake gnome libarchive localbase pkgconfig python:build sqlite # compiler:c++17-lang
 USE_GNOME=	atkmm gdkpixbuf2 gtkmm30 librsvg2
+USE_CXXSTD=	c++14 # fix build failure on 14 due to the use of deprecated std::binary_function C++ feature, see https://github.com/horizon-eda/horizon/issues/727
 
 USE_GITHUB=	yes
 GH_PROJECT=	horizon