[higan] 11/16: Allow installation of files under fakeroot.

Tobias Hansen thansen at moszumanska.debian.org
Tue Feb 14 00:01:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository higan.

commit a7a65572340650abb12b30e0af075a9111074a4d
Author: Tobias Hansen <thansen at debian.org>
Date:   Mon Feb 13 22:46:42 2017 +0000

    Allow installation of files under fakeroot.
---
 debian/patches/series                      |  1 +
 debian/patches/tomoko-makefile-fixes.patch | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 63b29bc..995239f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ ignore_manifests_by_default.patch
 create_config.patch
 include_cmath.patch
 disable-alsa-on-non-linux.patch
+tomoko-makefile-fixes.patch
diff --git a/debian/patches/tomoko-makefile-fixes.patch b/debian/patches/tomoko-makefile-fixes.patch
new file mode 100644
index 0000000..f559b23
--- /dev/null
+++ b/debian/patches/tomoko-makefile-fixes.patch
@@ -0,0 +1,26 @@
+Description: higan/target-tomoko-GNUmakefile fixes
+ * Allow installation of files under fakeroot.
+ * Create $(prefix)/share/applications/ folder.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/higan/target-tomoko/GNUmakefile
++++ b/higan/target-tomoko/GNUmakefile
+@@ -81,9 +81,7 @@
+ endif
+ 
+ install:
+-ifeq ($(shell id -un),root)
+-	$(error "make install should not be run as root")
+-else ifeq ($(platform),windows)
++ifeq ($(platform),windows)
+ else ifeq ($(platform),macosx)
+ 	mkdir -p ~/Library/Application\ Support/$(name)/
+ 	mkdir -p ~/Emulation/System/
+@@ -92,6 +90,7 @@
+ 	cp -R systems/* ~/Library/Application\ Support/$(name)/
+ else ifneq ($(filter $(platform),linux bsd),)
+ 	mkdir -p $(prefix)/bin/
++	mkdir -p $(prefix)/share/applications/
+ 	mkdir -p $(prefix)/share/icons/
+ 	mkdir -p $(prefix)/share/$(name)/
+ 	cp out/$(name) $(prefix)/bin/$(name)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/higan.git



More information about the Pkg-games-commits mailing list