pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/fifengine



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun May  5 21:33:43 UTC 2024

Modified Files:
        pkgsrc/devel/fifengine: Makefile

Log Message:
fifengine: cleanup, convert to cmake/build.mk, fix for Python 3.12

Mark as BROKEN since it doesn't support boost 1.85.
Add upstream bug report URL.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/fifengine/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/fifengine/Makefile
diff -u pkgsrc/devel/fifengine/Makefile:1.29 pkgsrc/devel/fifengine/Makefile:1.30
--- pkgsrc/devel/fifengine/Makefile:1.29        Sat Apr  6 08:04:59 2024
+++ pkgsrc/devel/fifengine/Makefile     Sun May  5 21:33:43 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2024/04/06 08:04:59 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2024/05/05 21:33:43 wiz Exp $
 
 DISTNAME=      fifengine-0.4.2
 PKGREVISION=   26
@@ -10,7 +10,17 @@ HOMEPAGE=    https://www.fifengine.net/
 COMMENT=       Multi-platform isometric game engine
 LICENSE=       gnu-lgpl-v2.1
 
-USE_CMAKE=     yes
+# https://github.com/fifengine/fifengine/issues/1085
+BROKEN=                "Doesn't support boost-1.85"
+
+TOOL_DEPENDS+= swig3>=3.0:../../devel/swig3
+
+.include "../../lang/python/extension.mk"
+
+.if ${PYTHON_VERSION} > 311
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+.endif
+
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
@@ -18,18 +28,11 @@ USE_CXX_FEATURES+=  c++11
 
 UNLIMIT_RESOURCES=     datasize virtualsize
 
-TOOL_DEPENDS+= swig3>=3.0:../../devel/swig3
-
-CONFIGURE_DIRS=        build
-CMAKE_ARG_PATH=        ..
-
 PY_PATCHPLIST= yes
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE="Release"
 
-pre-configure:
-       ${MKDIR} ${WRKSRC}/build
-
+.include "../../devel/cmake/build.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
 .include "../../audio/openal-soft/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"



Home | Main Index | Thread Index | Old Index