contribs: goom2k4: don't build mac application
authorRafaël Carré <rafael.carre@gmail.com>
Sun, 31 Oct 2010 21:56:07 +0000 (22:56 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Sun, 31 Oct 2010 21:56:17 +0000 (22:56 +0100)
extras/contrib/src/Patches/goom2k4-osx.patch [new file with mode: 0644]
extras/contrib/src/contrib-src.mak

diff --git a/extras/contrib/src/Patches/goom2k4-osx.patch b/extras/contrib/src/Patches/goom2k4-osx.patch
new file mode 100644 (file)
index 0000000..51744bc
--- /dev/null
@@ -0,0 +1,11 @@
+--- goom/configure.in.orig     2010-10-31 22:39:19.000000000 +0100
++++ goom/configure.in  2010-10-31 22:39:26.000000000 +0100
+@@ -43,8 +43,6 @@
+ dnl HOST
+ case "$host" in
+ *-apple-darwin*)
+-      MACTARGET="yes"
+-      MACFOLDER="mac"
+       AC_SUBST(MACFOLDER)
+       CCAS='$(CC)'
+       AC_SUBST(CCAS)
index 8488ec9..6ff0c0a 100644 (file)
@@ -1289,6 +1289,9 @@ else
 endif
        patch -p0 < Patches/goom2k4-0-memleaks.patch
        patch -p0 < Patches/goom2k4-autotools.patch
+ifdef HAVE_DARWIN
+       patch -p0 < Patches/goom2k4-osx.patch
+endif
        (cd $@; rm -f configure; autoreconf -ivf)
 
 .goom2k4: goom