[71898] trunk/dports/games/PlasmaClient/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Sep 26 03:35:12 PDT 2010


Revision: 71898
          http://trac.macports.org/changeset/71898
Author:   ryandesign at macports.org
Date:     2010-09-26 03:35:09 -0700 (Sun, 26 Sep 2010)
Log Message:
-----------
PlasmaClient: using "pkg-config sdl --libs" gave us too much library and stopped the app working at all on Tiger and Leopard

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

Modified: trunk/dports/games/PlasmaClient/Portfile
===================================================================
--- trunk/dports/games/PlasmaClient/Portfile	2010-09-26 09:56:43 UTC (rev 71897)
+++ trunk/dports/games/PlasmaClient/Portfile	2010-09-26 10:35:09 UTC (rev 71898)
@@ -6,7 +6,7 @@
 
 name                        PlasmaClient
 version                     0.0-233
-revision                    1
+revision                    2
 categories                  games
 platforms                   darwin
 maintainers                 ryandesign
@@ -29,8 +29,6 @@
 #http://stashbox.org/919902/python.zip
 #http://stashbox.org/998132/sdl.zip
 
-depends_build-append        port:pkgconfig
-
 depends_lib                 port:bullet \
                             port:python26 \
                             port:boost \
@@ -65,12 +63,8 @@
                             -DPYTHON_INCLUDE_DIR:PATH=${frameworks_dir}/Python.framework/Versions/2.6/Headers \
                             -DPYTHON_LIBRARY:FILEPATH=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.dylib \
                             -DSDL_INCLUDE_DIR=${prefix}/include/SDL \
-                            -DSDL_LIBRARY=${prefix}/lib/libSDL.dylib
+                            -DSDL_LIBRARY="${prefix}/lib/libSDLmain.a\;${prefix}/lib/libSDL.dylib\;-framework Cocoa"
 
-pre-configure {
-    configure.ldflags-append [exec pkg-config sdl --libs]
-}
-
 post-build {
     reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/PlasmaClient
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100926/7944aead/attachment.html>


More information about the macports-changes mailing list