pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/simgear



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  7 09:29:24 UTC 2024

Modified Files:
        pkgsrc/games/simgear: Makefile buildlink3.mk

Log Message:
simgear: Disable SIMD on non-amd64. While here, delint.


To generate a diff of this commit:
cvs rdiff -u -r1.164 -r1.165 pkgsrc/games/simgear/Makefile
cvs rdiff -u -r1.98 -r1.99 pkgsrc/games/simgear/buildlink3.mk

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

Modified files:

Index: pkgsrc/games/simgear/Makefile
diff -u pkgsrc/games/simgear/Makefile:1.164 pkgsrc/games/simgear/Makefile:1.165
--- pkgsrc/games/simgear/Makefile:1.164 Wed May 29 16:32:43 2024
+++ pkgsrc/games/simgear/Makefile       Sun Jul  7 09:29:23 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.164 2024/05/29 16:32:43 adam Exp $
+# $NetBSD: Makefile,v 1.165 2024/07/07 09:29:23 nia Exp $
 
 DISTNAME=      simgear-2020.3.11
 PKGREVISION=   39
@@ -23,14 +23,18 @@ CMAKE_ARGS+=                -DSIMGEAR_SHARED=ON
 CMAKE_ARGS+=           -DSYSTEM_EXPAT=ON
 CMAKE_ARGS+=           -DSYSTEM_UDNS=ON
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} != "x86_64"
+CMAKE_ARGS+=           -DENABLE_SIMD=OFF
+.endif
+
 LDFLAGS.SunOS+=                -lsocket -lnsl
 
 # The cmake script warns against building in the source directory.
 pre-configure:
        cd ${WRKSRC} && ${MKDIR} sgbuild
 
-.include "../../mk/bsd.prefs.mk"
-
 .include "../../audio/openal-soft/buildlink3.mk"
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"

Index: pkgsrc/games/simgear/buildlink3.mk
diff -u pkgsrc/games/simgear/buildlink3.mk:1.98 pkgsrc/games/simgear/buildlink3.mk:1.99
--- pkgsrc/games/simgear/buildlink3.mk:1.98     Thu May 23 14:19:06 2024
+++ pkgsrc/games/simgear/buildlink3.mk  Sun Jul  7 09:29:23 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.98 2024/05/23 14:19:06 gdt Exp $
+# $NetBSD: buildlink3.mk,v 1.99 2024/07/07 09:29:23 nia Exp $
 
 BUILDLINK_TREE+=       simgear
 
@@ -13,7 +13,10 @@ BUILDLINK_PKGSRCDIR.simgear?=        ../../game
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} != "Darwin"
+.  include "../../graphics/MesaLib/buildlink3.mk"
+.endif
 .include "../../graphics/osg/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"



Home | Main Index | Thread Index | Old Index