git: e2c63a211178 - main - cad/qcad: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 06 Aug 2023 20:30:24 UTC
The branch main has been updated by bofh:

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

commit e2c63a2111782a3380ce5670c39ba54667ed18bf
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 18:54:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 20:30:17 +0000

    cad/qcad: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 cad/qcad/Makefile  | 1 +
 cad/qcad/pkg-plist | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index eb9d9d4de9ee..b5820671a49e 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -21,6 +21,7 @@ BUILD_DEPENDS=	bash:shells/bash	\
 
 #USES=		compiler:c++11-lang gl gmake qmake qt:${FLAVOR:S/qt//}
 USES=		compiler:c++11-lang gl gmake qmake qt:5
+USE_CXXSTD=	c++14
 #FLAVORS=	qt5 qt6
 #FLAVOR?=	qt5
 #qt5_PKGNAMESUFFIX=	-qt5
diff --git a/cad/qcad/pkg-plist b/cad/qcad/pkg-plist
index c08d102aadbb..4a48398c8b1e 100644
--- a/cad/qcad/pkg-plist
+++ b/cad/qcad/pkg-plist
@@ -22,7 +22,6 @@ lib/libqcadstemmer.so.0
 lib/libspatialindexnavel.so
 lib/libspatialindexnavel.so.0
 lib/libstemmer.a
-share/applications/usr_local_bin_qcadbin.desktop
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/calibration.dxf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/colors.dxf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/entities.dxf