Skip to content

Commit b788466

Browse files
committed
FlightCrew: needs C++17 due to googletest
switch to cmake/build.mk.
1 parent 54bbf48 commit b788466

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

textproc/FlightCrew/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.75 2025/04/24 14:15:53 wiz Exp $
1+
# $NetBSD: Makefile,v 1.76 2025/06/12 07:56:50 wiz Exp $
22

33
DISTNAME= FlightCrew-0.7.2-Code
44
PKGNAME= ${DISTNAME:S/-Code//}
@@ -14,8 +14,8 @@ LICENSE= gnu-lgpl-v3 AND cc-by-sa-v3.0
1414

1515
WRKSRC= ${WRKDIR}
1616

17-
USE_LANGUAGES= c c++14
18-
USE_CMAKE= yes
17+
USE_LANGUAGES= c c++
18+
USE_CXX_FEATURES= c++17
1919

2020
# Work around NetBSD unzip vs others for patched files.
2121
SUBST_CLASSES+= cr
@@ -42,6 +42,7 @@ SUBST_SED.fix-damaged+= -e "1,1d" # deleted
4242
post-extract:
4343
${RM} -rf ${WRKDIR}/src/BoostParts ${WRKDIR}/src/Xerces ${WRKDIR}/src/zlib ${WRKDIR}/src/googlemock
4444

45+
.include "../../devel/cmake/build.mk"
4546
.include "../../devel/googletest/buildlink3.mk"
4647
.include "../../textproc/xerces-c/buildlink3.mk"
4748
.include "../../devel/zlib/buildlink3.mk"

0 commit comments

Comments
 (0)