[mame] 02/06: Add a makefile hack to allow building on a "gnu" platform with genie.
Jordi Mallach
jordi at moszumanska.debian.org
Thu Jul 28 05:39:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
jordi pushed a commit to branch master
in repository mame.
commit c628f968594eb6908eb6ac0aef9f41a829e15e58
Author: Jordi Mallach <jordi at debian.org>
Date: Wed Jul 27 16:37:10 2016 +0200
Add a makefile hack to allow building on a "gnu" platform with genie.
---
debian/changelog | 1 +
debian/patches/hurd.patch | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index bd627d7..7973412 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ mame (0.176-1) UNRELEASED; urgency=medium
their -arch variants.
* Add libutil-freebsd-dev to Build-Depends for kfreebsd-any.
* Add hurd.patch with some fixes to the build on hurd-i386 systems.
+ * Add a makefile hack to allow building on a "gnu" platform with genie.
* Drop remove-m64_flag_for_mips64el_alpha.patch, merged upstream.
* Make mame build verbosely by default, without entangling it to DH_VERBOSE.
diff --git a/debian/patches/hurd.patch b/debian/patches/hurd.patch
index 2fdc42c..daa1cd4 100644
--- a/debian/patches/hurd.patch
+++ b/debian/patches/hurd.patch
@@ -12,6 +12,23 @@ Index: mame-0.176/makefile
ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
OS := macosx
GENIEOS := darwin
+@@ -1204,6 +1207,16 @@ linux: generate $(PROJECTDIR)/$(MAKETYPE
+ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/$(MAKETYPE)-linux config=$(CONFIG) precompile
+ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/$(MAKETYPE)-linux config=$(CONFIG)
+
++.PHONY: gnu_x86
++gnu_x86: generate $(PROJECTDIR)/$(MAKETYPE)-linux/Makefile
++ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/$(MAKETYPE)-linux config=$(CONFIG)32 precompile
++ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/$(MAKETYPE)-linux config=$(CONFIG)32
++
++.PHONY: gnu
++gnu: generate $(PROJECTDIR)/$(MAKETYPE)-linux/Makefile
++ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/$(MAKETYPE)-linux config=$(CONFIG) precompile
++ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/$(MAKETYPE)-linux config=$(CONFIG)
++
+ #-------------------------------------------------
+ # gmake-linux-clang
+ #-------------------------------------------------
Index: mame-0.176/scripts/src/osd/sdl.lua
===================================================================
--- mame-0.176.orig/scripts/src/osd/sdl.lua
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git
More information about the Pkg-games-commits
mailing list