summary refs log tree commit diff
path: root/gnu/packages/patches/mars-install.patch
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-08-31 10:09:40 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-10-11 15:52:59 +0200
commitc23c50c734d44e8426fbffba9c5d7a250e8d025a (patch)
treee81a39fadb16a921a7921499ec96c1f671be3309 /gnu/packages/patches/mars-install.patch
parenteb52419266717cb0b54e07d7a17f84b3272f7993 (diff)
downloadguix-c23c50c734d44e8426fbffba9c5d7a250e8d025a.tar.gz
gnu: Add MARS.
* gnu/packages/games.scm (mars): New variable.
* gnu/packages/patches/mars-install.patch: New file.
* gnu/packages/patches/mars-sfml-2.3.patch: New file.
* gnu-system.am (dist_patch_DATA): Add them.
Diffstat (limited to 'gnu/packages/patches/mars-install.patch')
-rw-r--r--gnu/packages/patches/mars-install.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/mars-install.patch b/gnu/packages/patches/mars-install.patch
new file mode 100644
index 0000000000..1e3964c141
--- /dev/null
+++ b/gnu/packages/patches/mars-install.patch
@@ -0,0 +1,17 @@
+Remove install target for non-existant directory.
+
+--- a/src/CMakeLists.txt	2015-09-13 20:52:28.517344327 +0200
++++ b/src/CMakeLists.txt	2015-09-13 20:53:04.842453987 +0200
+@@ -122,12 +122,6 @@
+ 		DESTINATION
+ 			${CMAKE_INSTALL_PREFIX}/share/applications
+ 	)
+-	install(
+-		FILES
+-			${MARS_SOURCE_DIR}/resources/mars
+-		DESTINATION
+-			${CMAKE_INSTALL_PREFIX}/share/menu
+-	)
+ 
+ else(UNIX)
+ 	# executable