pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/fna3d



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 19 13:18:02 UTC 2025

Modified Files:
        pkgsrc/graphics/fna3d: Makefile

Log Message:
fna3d: fix build with cmake 4

Convert to cmake/build.mk


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/fna3d/Makefile

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

Modified files:

Index: pkgsrc/graphics/fna3d/Makefile
diff -u pkgsrc/graphics/fna3d/Makefile:1.11 pkgsrc/graphics/fna3d/Makefile:1.12
--- pkgsrc/graphics/fna3d/Makefile:1.11 Wed Feb 12 06:45:07 2025
+++ pkgsrc/graphics/fna3d/Makefile      Tue Aug 19 13:18:02 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2025/02/12 06:45:07 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2025/08/19 13:18:02 wiz Exp $
 
 DISTNAME=      FNA3D-22.05
 PKGNAME=       ${DISTNAME:tl}
@@ -11,14 +11,15 @@ HOMEPAGE=   https://fna-xna.github.io/
 COMMENT=       3D graphics library for FNA
 LICENSE=       zlib
 
-USE_CMAKE=     yes
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 # No upstream install target
 INSTALLATION_DIRS=      lib include
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include/
-       ${INSTALL_DATA} ${WRKSRC}/libFNA3D.so* ${DESTDIR}${PREFIX}/lib/
+       ${INSTALL_DATA} ${WRKSRC}/${CMAKE_BUILD_DIR}/libFNA3D.so* ${DESTDIR}${PREFIX}/lib/
 
+.include "../../devel/cmake/build.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../graphics/vulkan-headers/buildlink3.mk"
 .include "../../graphics/mojoshader/buildlink3.mk"



Home | Main Index | Thread Index | Old Index