Ticket #61482: mame-0.226.diff
File mame-0.226.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 4 years ago) |
---|
-
Portfile
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 3 3 PortSystem 1.0 4 PortGroup compiler_blacklist_versions 1.0 4 5 PortGroup github 1.0 5 6 6 github.setup mamedev mame 02 06 mame7 github.setup mamedev mame 0226 mame 7 8 revision 0 8 checksums rmd160 d8d5a4bbd94a8f1bb980b0ff9e2b62ea9f29e58b\9 sha256 8e4c04c724964ca0c22f65181a84261b01ca49f51f4266c084b2d6b5a81e1e8d\10 size 1 457888069 checksums rmd160 b9e4ae321b7673790d374c63bbe966d1502d6738 \ 10 sha256 7c4c9ec232ba988e65fd29665c9b8e40b5ac3aa9f561eeb107cebbf08ba94baf \ 11 size 196379874 11 12 12 13 version [string index ${github.version} 0].[string range ${github.version} 1 end] 13 14 categories emulators … … 15 16 platforms darwin 16 17 license GPL-2+ 17 18 homepage https://www.mamedev.org 19 github.tarball_from archive 18 20 19 21 description Multiple Arcade Machine Emulator 20 22 long_description The purpose of MAME is to preserve decades of software history. As \ … … 43 45 44 46 use_configure no 45 47 48 # https://github.com/mamedev/mame/issues/6004 49 compiler.blacklist {clang < 1000} 46 50 # https://github.com/mamedev/mame/issues/3788 47 if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] < 0)} { 48 configure.cxxflags-append -DMAME_DEVCB_GNUC_BROKEN_FRIEND 49 } 51 # As long as we're blacklisting clangs from the affected Xcode versions, 52 # we don't need to add this flag. 53 #if {${os.platform} eq "darwin" && ([vercmp $xcodeversion 9.0] < 0)} { 54 # configure.cxxflags-append -DMAME_DEVCB_GNUC_BROKEN_FRIEND 55 #} 50 56 51 57 compiler.cxx_standard 2014 52 58 … … 69 75 USE_SYSTEM_LIB_ZLIB=1 \ 70 76 VERBOSE=1 71 77 72 if {$build_arch in {x86_64 ppc64}} {78 if {$build_arch in [list arm64 x86_64 ppc64]} { 73 79 build.args-append PTR64=1 74 80 set executable mame64 75 81 } else {