mess & ume 0.148u2

* Update ume and its family to 0.148u2.
* Let homebrew decide which compiler compiling ume and its family. Note
  that ume's LD is abnormal.
* Remove redefined header path.

Closes Homebrew/homebrew#18613.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
mbcoguno 2013-03-20 23:19:32 +08:00 committed by Jack Nagel
parent 5d93ceefe5
commit 978c20e67f
2 changed files with 9 additions and 8 deletions

View file

@ -2,8 +2,8 @@ require 'formula'
class Mess < Formula
homepage 'http://www.mess.org/'
url 'svn://dspnet.fr/mame/trunk', :revision => '20928'
version '0.148u1'
url 'svn://dspnet.fr/mame/trunk', :revision => '21963'
version '0.148u2'
head 'svn://dspnet.fr/mame/trunk'
@ -12,10 +12,11 @@ class Mess < Formula
def install
ENV['MACOSX_USE_LIBSDL'] = '1'
ENV['INCPATH'] = "-I./src/lib/util -I#{MacOS::X11.include}"
ENV['INCPATH'] = "-I#{MacOS::X11.include}"
ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0')
system 'make', 'TARGET=mess', 'SUBTARGET=mess'
system "make", "CC=#{ENV.cc}", "LD=#{ENV.cxx}",
"TARGET=mess", "SUBTARGET=mess"
if MacOS.prefer_64_bit?
bin.install 'mess64' => 'mess'

View file

@ -2,8 +2,8 @@ require 'formula'
class Ume < Formula
homepage 'http://mamedev.org/'
url 'svn://dspnet.fr/mame/trunk', :revision => '20928'
version '0.148u1'
url 'svn://dspnet.fr/mame/trunk', :revision => '21963'
version '0.148u2'
head 'svn://dspnet.fr/mame/trunk'
@ -12,10 +12,10 @@ class Ume < Formula
def install
ENV['MACOSX_USE_LIBSDL'] = '1'
ENV['INCPATH'] = "-I./src/lib/util -I#{MacOS::X11.include}"
ENV['INCPATH'] = "-I#{MacOS::X11.include}"
ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0')
system 'make', 'TARGET=ume'
system "make", "CC=#{ENV.cc}", "LD=#{ENV.cxx}", "TARGET=ume"
if MacOS.prefer_64_bit?
bin.install 'ume64' => 'ume'