pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/eureka



Module Name:    pkgsrc
Committed By:   micha
Date:           Wed May  7 12:20:08 UTC 2025

Modified Files:
        pkgsrc/games/eureka: distinfo
        pkgsrc/games/eureka/patches: patch-CMakeLists.txt

Log Message:
games/eureka: Try to fix build for macOS


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/games/eureka/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/games/eureka/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/games/eureka/distinfo
diff -u pkgsrc/games/eureka/distinfo:1.9 pkgsrc/games/eureka/distinfo:1.10
--- pkgsrc/games/eureka/distinfo:1.9    Fri Jul 12 11:13:13 2024
+++ pkgsrc/games/eureka/distinfo        Wed May  7 12:20:08 2025
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.9 2024/07/12 11:13:13 micha Exp $
+$NetBSD: distinfo,v 1.10 2025/05/07 12:20:08 micha Exp $
 
 BLAKE2s (eureka-2.0.2.tar.gz) = b29ad046135dc58ef7d874448373832e9f8d738b1ef2ac5dc1e8327cfaa79033
 SHA512 (eureka-2.0.2.tar.gz) = dc45d5a94bca0bc6c892ea90473d6c66e67326cf49797493b41ce5524a38196a31639db3579d1b4138b8dfd1570057a237817c668e47007a72a5b1f2f8991257
 Size (eureka-2.0.2.tar.gz) = 2388549 bytes
-SHA1 (patch-CMakeLists.txt) = 0eda67e8a101d9299bc933f2f403b4e8b940a689
+SHA1 (patch-CMakeLists.txt) = a932309667817d72f5b57643c725c5adf0829dda
 SHA1 (patch-src_CMakeLists.txt) = ba927270b9d63035b84134c683c74f89d5362124
 SHA1 (patch-src_m__files.cc) = a547b17d578ada79e20d006f786b1a594ef34700
 SHA1 (patch-src_m__strings.h) = e8b793e0a8943f3371792e07ac552e8e22e2c248

Index: pkgsrc/games/eureka/patches/patch-CMakeLists.txt
diff -u pkgsrc/games/eureka/patches/patch-CMakeLists.txt:1.1 pkgsrc/games/eureka/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/games/eureka/patches/patch-CMakeLists.txt:1.1        Mon Jul  8 14:04:42 2024
+++ pkgsrc/games/eureka/patches/patch-CMakeLists.txt    Wed May  7 12:20:08 2025
@@ -1,9 +1,34 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2024/07/08 14:04:42 micha Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2025/05/07 12:20:08 micha Exp $
 
+Treat macOS like every other Unix.
 Let pkgsrc handle icon and desktop files.
 
---- CMakeLists.txt.orig        2024-07-07 19:06:38.000000000 +0000
+--- CMakeLists.txt.orig        2024-07-09 18:15:50.000000000 +0000
 +++ CMakeLists.txt
+@@ -69,11 +69,11 @@ if(WIN32)
+     )
+ endif()
+ 
+-if(NOT APPLE)
++#if(NOT APPLE)
+     target_sources(eureka PRIVATE mainroot.cc)
+-endif()
++#endif()
+ 
+-if(APPLE)
++if(APPLE_DISABLED)
+     set(exe_display_name "Eureka Doom Editor")
+     set_target_properties(eureka PROPERTIES OUTPUT_NAME "${exe_display_name}")
+ 
+@@ -139,7 +139,7 @@ else()
+ endif()
+ 
+ add_subdirectory(src)
+-if(APPLE)
++if(APPLE_DISABLED)
+     target_link_libraries(eurekasrc PRIVATE eurekamac)
+     target_link_libraries(eurekamac PRIVATE eurekasrc)
+ endif()
 @@ -170,10 +170,12 @@ if(UNIX AND NOT APPLE)  # Linux
              DESTINATION "${eureka_install_dir}"
      )



Home | Main Index | Thread Index | Old Index