Files
ports/games/devilutionX/files/patch-CMakeLists.txt
Dmitry Marakasov 973414029d games/devilutionX: update to 1.4
- Update to 1.4
- Drop dependency on font, no longer needed
- Drop unnecessary .desktop file patches (also upstream PR exists)
- Install from the port (instead of patching CMakeLists.txt), to be
  more explicit and flexible
- Convert to pkg-plist as there are more files now
- The new version tries to fetch dependencies from the net, for some
  depenencies this is unconditional. Fetch these properly with
  GH_TUPLE and place in a directory where CMake expectes them.
- Upstream code expects patch component in the version, so add an extra
  .0 to VERSION_NUM. This should not break on (future) X.Y.Z versions
  as the component will move to micropatch position and will be ignored
- BINARY_RELEASE option is gone
- Untie DEBUG (engine debug bode) from WITH_DEBUG knob (build debug
  binary), these are orthogonal
- Properly support optional depends; zerotier is the only one
  broken as it conflicts with system header (see
  https://github.com/diasurgical/devilutionX/issues/4585)
- Install devilutionx (own) data file
  - Since it's not versioned, use a little hack to add a tag to the
    filename to avoid clashes on the future updates; this seemed less
    evil than introducing DIST_SUBDIR
  - Use two-level datadir to be consistent with ~/.local/share path
- Update pkg-message (Diablo data file doesn't have to be lowercase,
  works either way)

PR:		264064
Approved by:	eduardo@FreeBSD.org (maintainer)
2022-05-18 21:54:10 +03:00

11 lines
277 B
Plaintext

--- CMakeLists.txt.orig 2022-04-25 02:21:41 UTC
+++ CMakeLists.txt
@@ -156,7 +156,6 @@ if(NONET)
set(PACKET_ENCRYPTION OFF)
endif()
-find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
endif()