pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/mame Add missing makefile rules for building...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b46a0674f9fd
branches: trunk
changeset: 367999:b46a0674f9fd
user: dholland <dholland%pkgsrc.org@localhost>
date: Sat Sep 09 22:40:58 2017 +0000
description:
Add missing makefile rules for building with clang on NetBSD and FreeBSD.
diffstat:
emulators/mame/distinfo | 4 +-
emulators/mame/patches/patch-makefile | 55 +++++++++++++++++++++++++++++++++-
2 files changed, 54 insertions(+), 5 deletions(-)
diffs (86 lines):
diff -r 328ba3c03e2a -r b46a0674f9fd emulators/mame/distinfo
--- a/emulators/mame/distinfo Sat Sep 09 22:37:49 2017 +0000
+++ b/emulators/mame/distinfo Sat Sep 09 22:40:58 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.64 2017/04/19 21:10:11 wiz Exp $
+$NetBSD: distinfo,v 1.65 2017/09/09 22:40:58 dholland Exp $
SHA1 (mame-0.184.tar.gz) = bdda96458baff451511fbecb204b863af52b34da
RMD160 (mame-0.184.tar.gz) = 3cca0ab3d7869da50c76730d1b07945e941739a7
@@ -6,5 +6,5 @@
Size (mame-0.184.tar.gz) = 121328139 bytes
SHA1 (patch-3rdparty_asio_include_asio_detail_config.hpp) = 9b0d6139e853d8efb9d51270bbfa5382feac42a7
SHA1 (patch-3rdparty_bgfx_examples_common_font_font__manager.cpp) = e39b2dff553505531adb5f0a31b0a22306b8e2e4
-SHA1 (patch-makefile) = c56dac362b89025d83078dbd1e3ae0a09df46a00
+SHA1 (patch-makefile) = c1766b434ea5d5e57179d9d9616eaa66af77206e
SHA1 (patch-scripts_genie.lua) = 91940dbcf30e0abd25167a79b53deb43a18daf86
diff -r 328ba3c03e2a -r b46a0674f9fd emulators/mame/patches/patch-makefile
--- a/emulators/mame/patches/patch-makefile Sat Sep 09 22:37:49 2017 +0000
+++ b/emulators/mame/patches/patch-makefile Sat Sep 09 22:40:58 2017 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-makefile,v 1.19 2017/01/04 23:05:12 wiz Exp $
+$NetBSD: patch-makefile,v 1.20 2017/09/09 22:40:58 dholland Exp $
Treat all BSDs the same.
+Add missing rules for building with clang on FreeBSD and NetBSD.
---- makefile.orig 2016-10-25 23:47:23.000000000 +0000
+--- makefile.orig 2017-03-29 03:12:20.000000000 +0000
+++ makefile
-@@ -177,19 +177,19 @@ GENIEOS := solaris
+@@ -180,19 +180,19 @@ GENIEOS := solaris
endif
ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD)
OS := freebsd
@@ -28,3 +29,51 @@
endif
ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
OS := macosx
+@@ -1357,6 +1357,23 @@ freebsd_x86: generate $(PROJECTDIR)/$(MA
+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd config=$(CONFIG)32
+
+ #-------------------------------------------------
++# gmake-freebsd-clang
++#-------------------------------------------------
++
++$(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile: makefile $(SCRIPTS) $(GENIE)
++ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --gcc=freebsd-clang --gcc_version=$(CLANG_VERSION) $(MAKETYPE)
++
++.PHONY: freebsd_x64_clang
++freebsd_x64_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64 precompile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64
++
++.PHONY: freebsd_x86_clang
++freebsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32 precompile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32
++
++#-------------------------------------------------
+ # gmake-netbsd
+ #-------------------------------------------------
+
+@@ -1377,6 +1394,23 @@ netbsd_x86: generate $(PROJECTDIR)/$(MAK
+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd config=$(CONFIG)32
+
+ #-------------------------------------------------
++# gmake-netbsd-clang
++#-------------------------------------------------
++
++$(PROJECTDIR)/$(MAKETYPE)-netbsd-clang/Makefile: makefile $(SCRIPTS) $(GENIE)
++ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --gcc=netbsd-clang --gcc_version=$(CLANG_VERSION) $(MAKETYPE)
++
++.PHONY: netbsd_x64_clang
++netbsd_x64_clang: generate $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang/Makefile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)64 precompile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)64
++
++.PHONY: netbsd_x86_clang
++netbsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang/Makefile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)32 precompile
++ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-netbsd-clang config=$(CONFIG)32
++
++#-------------------------------------------------
+ # gmake-openbsd
+ #-------------------------------------------------
+
Home |
Main Index |
Thread Index |
Old Index