Changeset 111762


Ignore:
Timestamp:
Oct 1, 2013, 6:30:04 AM (6 years ago)
Author:
ryandesign@…
Message:

blockout2: use OpenGL framework (with which the game actually works) instead of mesa (with which it doesn't)

Location:
trunk/dports/games/blockout2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/blockout2/Portfile

    r111727 r111762  
    77name                    blockout2
    88version                 2.4
     9revision                1
    910set short_version       [strsed ${version} {g/\.//}]
    1011categories              games
     
    2627
    2728depends_lib             path:lib/pkgconfig/sdl.pc:libsdl \
    28                         port:libsdl_mixer \
    29                         port:mesa
     29                        port:libsdl_mixer
    3030
    3131post-extract {
  • trunk/dports/games/blockout2/files/patch-BlockOut-Makefile.diff

    r111727 r111762  
    11--- BlockOut/Makefile.orig      2008-01-09 12:29:06.000000000 -0600
    2 +++ BlockOut/Makefile   2013-09-30 04:49:38.000000000 -0500
     2+++ BlockOut/Makefile   2013-10-01 01:26:14.000000000 -0500
    33@@ -34,17 +34,17 @@
    44 
     
    1717+               -I$(SDL_ROOT)/include/SDL -I$(IMGLIB_ROOT) -I. -I/usr/include -D_GNU_SOURCE=1 -D_THREAD_SAFE
    1818 
    19 -LIBS    =     -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT)
    20 +LIBS    =     -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT) -lSDLmain -Wl,-framework,AppKit -lSDL -Wl,-framework,Cocoa
     19 LIBS    =     -L$(SDL_ROOT)/lib -L$(IMGLIB_ROOT)
    2120 
    2221-LFLAGS   =      $(LIBS) -limagelib -lGL -lGLU -lSDL_mixer -lSDL -lpthread -lm -ldl
    23 +LFLAGS   =      $(LIBS) -lGL -lGLU -limagelib -lSDL_mixer -lSDL -lSDLmain -lpthread -lm -ldl
     22+LFLAGS   =      $(LIBS) -limagelib -Wl,-framework,AppKit -Wl,-framework,Cocoa -Wl,-framework,OpenGL -lSDL_mixer -lSDL -lSDLmain -lpthread -lm -ldl
    2423 
    2524 #--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.