[Bug 235493] emulators/mame: Fix build with system clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 4 14:00:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235493

            Bug ID: 235493
           Summary: emulators/mame: Fix build with system clang
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: cyberbotx at cyberbotx.com

Created attachment 201719
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201719&action=edit
mame.patch

I'm not sure if this problem occurred for anyone else, but with the system
clang, MAME's build system thinks it is running GCC instead of Clang and its
genie lua script spits out the incorrect message of "GCC version 5.0 or later
needed", as seen here:

http://kirby.cyberbotx.com:8765/poudriere/data/local-default/2018-12-24_10h40m30s/logs/errors/mame-0.200_2.log

The attached patch fixes this so it correctly sees it as clang. I'm really not
sure WHY it doesn't detect it as clang properly, but this fixes it regardless.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list