[111762] trunk/dports/games/blockout2
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 30 23:30:04 PDT 2013
Revision: 111762
https://trac.macports.org/changeset/111762
Author: ryandesign at macports.org
Date: 2013-09-30 23:30:04 -0700 (Mon, 30 Sep 2013)
Log Message:
-----------
blockout2: use OpenGL framework (with which the game actually works) instead of mesa (with which it doesn't)
Modified Paths:
--------------
trunk/dports/games/blockout2/Portfile
trunk/dports/games/blockout2/files/patch-BlockOut-Makefile.diff
Modified: trunk/dports/games/blockout2/Portfile
===================================================================
--- trunk/dports/games/blockout2/Portfile 2013-10-01 06:17:55 UTC (rev 111761)
+++ trunk/dports/games/blockout2/Portfile 2013-10-01 06:30:04 UTC (rev 111762)
@@ -6,6 +6,7 @@
name blockout2
version 2.4
+revision 1
set short_version [strsed ${version} {g/\.//}]
categories games
platforms darwin
@@ -25,8 +26,7 @@
sha256 c95766b8d6fce9820e14a23cd1bdea28591c01d8fdf5ece06cca1071f082c088
depends_lib path:lib/pkgconfig/sdl.pc:libsdl \
- port:libsdl_mixer \
- port:mesa
+ port:libsdl_mixer
post-extract {
copy ${filespath}/Makefile ${worksrcpath}
Modified: trunk/dports/games/blockout2/files/patch-BlockOut-Makefile.diff
===================================================================
--- trunk/dports/games/blockout2/files/patch-BlockOut-Makefile.diff 2013-10-01 06:17:55 UTC (rev 111761)
+++ trunk/dports/games/blockout2/files/patch-BlockOut-Makefile.diff 2013-10-01 06:30:04 UTC (rev 111762)
@@ -1,5 +1,5 @@
--- BlockOut/Makefile.orig 2008-01-09 12:29:06.000000000 -0600
-+++ BlockOut/Makefile 2013-09-30 04:49:38.000000000 -0500
++++ BlockOut/Makefile 2013-10-01 01:26:14.000000000 -0500
@@ -34,17 +34,17 @@
#---------------------------------------------------------------------
@@ -16,11 +16,10 @@
+CXXFLAGS = -g -D_DEBUG -c \
+ -I$(SDL_ROOT)/include/SDL -I$(IMGLIB_ROOT) -I. -I/usr/include -D_GNU_SOURCE=1 -D_THREAD_SAFE
--LIBS = -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT)
-+LIBS = -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT) -lSDLmain -Wl,-framework,AppKit -lSDL -Wl,-framework,Cocoa
+ LIBS = -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT)
-LFLAGS = $(LIBS) -limagelib -lGL -lGLU -lSDL_mixer -lSDL -lpthread -lm -ldl
-+LFLAGS = $(LIBS) -lGL -lGLU -limagelib -lSDL_mixer -lSDL -lSDLmain -lpthread -lm -ldl
++LFLAGS = $(LIBS) -limagelib -Wl,-framework,AppKit -Wl,-framework,Cocoa -Wl,-framework,OpenGL -lSDL_mixer -lSDL -lSDLmain -lpthread -lm -ldl
#--------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130930/57a011a5/attachment.html>
More information about the macports-changes
mailing list