[39196] trunk/dports/games/rrgbis

simon at macports.org simon at macports.org
Tue Aug 12 05:36:35 PDT 2008


Revision: 39196
          http://trac.macosforge.org/projects/macports/changeset/39196
Author:   simon at macports.org
Date:     2008-08-12 05:36:34 -0700 (Tue, 12 Aug 2008)
Log Message:
-----------
games/rrgbis: Maybe build fix for Leopard.

Modified Paths:
--------------
    trunk/dports/games/rrgbis/Portfile

Added Paths:
-----------
    trunk/dports/games/rrgbis/files/patch-Makefile.diff

Modified: trunk/dports/games/rrgbis/Portfile
===================================================================
--- trunk/dports/games/rrgbis/Portfile	2008-08-12 12:15:45 UTC (rev 39195)
+++ trunk/dports/games/rrgbis/Portfile	2008-08-12 12:36:34 UTC (rev 39196)
@@ -32,7 +32,8 @@
                     port:libsdl_mixer \
                     port:libvorbis
 
-patchfiles          patch-src_GLSDL.cpp.diff
+patchfiles          patch-src_GLSDL.cpp.diff \
+                    patch-Makefile.diff
 
 pre-patch {
     # Convert files from DOS to UNIX linefeeds before patching.

Added: trunk/dports/games/rrgbis/files/patch-Makefile.diff
===================================================================
--- trunk/dports/games/rrgbis/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/games/rrgbis/files/patch-Makefile.diff	2008-08-12 12:36:34 UTC (rev 39196)
@@ -0,0 +1,18 @@
+Index: Makefile
+===================================================================
+--- Makefile.orig	2008-08-12 14:08:22.000000000 +0200
++++ Makefile	2008-08-12 14:08:53.000000000 +0200
+@@ -13,11 +13,11 @@
+ MAKE=make
+ 
+ CXX = g++
+-CXXFLAGS = $(shell sdl-config --cflags) $(shell freetype-config --cflags) -Isrc/squirrel/include -I$(FTGL)/src
++CXXFLAGS = $(shell sdl-config --cflags) $(shell freetype-config --cflags) -Isrc/squirrel/include -I$(FTGL)/src -I/System/Library/Frameworks/OpenGL.framework/Headers
+ OPTIFLAGS = -O3 -fno-strict-aliasing 
+ DEBUGFLAGS = -g3
+ DEFS = -DSQUNICODE
+-LIBS = -lsquirrel -lsqstdlib $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lftgl -lGL $(shell freetype-config --libs) -L$(SQUIRREL)/lib -lftgl -L$(FTGL)/src
++LIBS = -lsquirrel -lsqstdlib $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lftgl -lGL $(shell freetype-config --libs) -L$(SQUIRREL)/lib -lftgl -L$(FTGL)/src -L/System/Library/Frameworks/OpenGL.framework/Libraries
+ 
+ SOURCES = $(wildcard src/*.cpp) $(wildcard src/scripting/*.cpp)
+ OBJS = $(SOURCES:.cpp=.o)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080812/3e8bbab7/attachment.html 


More information about the macports-changes mailing list