pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/flightgear
Module Name: pkgsrc
Committed By: wiz
Date: Tue Aug 19 11:23:21 UTC 2025
Modified Files:
pkgsrc/games/flightgear: Makefile
Log Message:
flightgear: fix build with cmake 4
Convert to cmake/build.mk
To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 pkgsrc/games/flightgear/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/flightgear/Makefile
diff -u pkgsrc/games/flightgear/Makefile:1.195 pkgsrc/games/flightgear/Makefile:1.196
--- pkgsrc/games/flightgear/Makefile:1.195 Sun Aug 10 10:38:52 2025
+++ pkgsrc/games/flightgear/Makefile Tue Aug 19 11:23:21 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.195 2025/08/10 10:38:52 wiz Exp $
+# $NetBSD: Makefile,v 1.196 2025/08/19 11:23:21 wiz Exp $
DISTNAME= flightgear-2020.3.11
PKGREVISION= 61
@@ -13,23 +13,16 @@ LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
USE_LANGUAGES= c c++
USE_CXX_FEATURES+= c++14
-USE_CMAKE= yes
LDFLAGS.NetBSD+= -lexecinfo
-CONFIGURE_DIRS= fgbuild
-BUILD_DIRS= fgbuild
-CMAKE_ARG_PATH= ..
-
CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_CONFIGURE_ARGS+= -DFG_BUILD_TYPE=Release
CMAKE_CONFIGURE_ARGS+= -DSYSTEM_FLITE=OFF
CMAKE_CONFIGURE_ARGS+= -DSYSTEM_HTS_ENGINE=OFF
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
-# The cmake script warns against building in the source directory.
-pre-configure:
- cd ${WRKSRC} && ${MKDIR} fgbuild
-
+.include "../../devel/cmake/build.mk"
.include "../../audio/gsm/buildlink3.mk"
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../audio/speexdsp/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index