pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/openttd



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Sun Oct 15 15:21:59 UTC 2023

Modified Files:
        pkgsrc/games/openttd: Makefile distinfo
Added Files:
        pkgsrc/games/openttd/patches: patch-cmake_PackageBundle.cmake

Log Message:
openttd: Fix installation on Darwin

pkgsrc changes:
---------------
  * Let installed files inside ${LOCALBASE}.
  * Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 pkgsrc/games/openttd/Makefile
cvs rdiff -u -r1.44 -r1.45 pkgsrc/games/openttd/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/games/openttd/patches/patch-cmake_PackageBundle.cmake

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

Modified files:

Index: pkgsrc/games/openttd/Makefile
diff -u pkgsrc/games/openttd/Makefile:1.115 pkgsrc/games/openttd/Makefile:1.116
--- pkgsrc/games/openttd/Makefile:1.115 Wed Aug  2 19:27:31 2023
+++ pkgsrc/games/openttd/Makefile       Sun Oct 15 15:21:59 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.115 2023/08/02 19:27:31 nia Exp $
+# $NetBSD: Makefile,v 1.116 2023/10/15 15:21:59 triaxx Exp $
 
 DISTNAME=      openttd-13.3-source
 PKGNAME=       ${DISTNAME:S/-source//}
+PKGREVISION=   1
 CATEGORIES=    games
 MASTER_SITES=  https://proxy.binaries.openttd.org/openttd-releases/${PKGVERSION_NOREV}/
 MASTER_SITES+= https://cdn.openttd.org/openttd-releases/${PKGVERSION_NOREV}/

Index: pkgsrc/games/openttd/distinfo
diff -u pkgsrc/games/openttd/distinfo:1.44 pkgsrc/games/openttd/distinfo:1.45
--- pkgsrc/games/openttd/distinfo:1.44  Mon Jul 17 21:07:58 2023
+++ pkgsrc/games/openttd/distinfo       Sun Oct 15 15:21:59 2023
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.44 2023/07/17 21:07:58 adam Exp $
+$NetBSD: distinfo,v 1.45 2023/10/15 15:21:59 triaxx Exp $
 
 BLAKE2s (openttd-13.3-source.tar.xz) = 7fbba0842b627c67a76b911c9cfe810d3ecf2a47240a0838dcbebd95baf94186
 SHA512 (openttd-13.3-source.tar.xz) = bb91755f65bd3c3f4716b6722f29bc63633e04557d427cb224f4c3aecdbd3744df4921aba3872966fc587541fe2cdaa2fd80891236a9c87826cea0a6865e2318
 Size (openttd-13.3-source.tar.xz) = 7417568 bytes
+SHA1 (patch-cmake_PackageBundle.cmake) = a22c8080c03ac8885beac3fc4b2b1c2f94eafe6b
 SHA1 (patch-cmake_InstallAndPackage.cmake) = 47cf19bf6b77dc5bcf954ee5ffdb4967f2af19ea
 SHA1 (patch-src_core_alloc__func.hpp) = 9c5a855316e3262c51c1b4c836de760d53abb759

Added files:

Index: pkgsrc/games/openttd/patches/patch-cmake_PackageBundle.cmake
diff -u /dev/null pkgsrc/games/openttd/patches/patch-cmake_PackageBundle.cmake:1.1
--- /dev/null   Sun Oct 15 15:21:59 2023
+++ pkgsrc/games/openttd/patches/patch-cmake_PackageBundle.cmake        Sun Oct 15 15:21:59 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmake_PackageBundle.cmake,v 1.1 2023/10/15 15:21:59 triaxx Exp $
+
+Let installed files inside ${LOCALBASE}.
+
+--- cmake/PackageBundle.cmake.orig     2023-02-05 17:19:16.000000000 +0000
++++ cmake/PackageBundle.cmake
+@@ -19,7 +19,7 @@ install(
+     "
+         include(BundleUtilities)
+         set(BU_CHMOD_BUNDLE_ITEMS TRUE)
+-        fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/../MacOS/openttd\"  \"\" \"\")
++        fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/bin/openttd\"  \"\" \"\")
+     "
+     DESTINATION .
+     COMPONENT Runtime)



Home | Main Index | Thread Index | Old Index