[71893] trunk/dports/games/PlasmaClient/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Sep 25 23:27:23 PDT 2010
Revision: 71893
http://trac.macports.org/changeset/71893
Author: ryandesign at macports.org
Date: 2010-09-25 23:27:22 -0700 (Sat, 25 Sep 2010)
Log Message:
-----------
PlasmaClient: fix Leopard and Snow Leopard by always manually shoving in the SDL LDFLAGS, apparently
Modified Paths:
--------------
trunk/dports/games/PlasmaClient/Portfile
Modified: trunk/dports/games/PlasmaClient/Portfile
===================================================================
--- trunk/dports/games/PlasmaClient/Portfile 2010-09-26 06:23:31 UTC (rev 71892)
+++ trunk/dports/games/PlasmaClient/Portfile 2010-09-26 06:27:22 UTC (rev 71893)
@@ -29,6 +29,8 @@
#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,6 +67,10 @@
-DSDL_INCLUDE_DIR=${prefix}/include/SDL \
-DSDL_LIBRARY=${prefix}/lib/libSDL.dylib
+pre-configure {
+ configure.ldflags-append [exec pkg-config sdl --libs]
+}
+
post-build {
reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/PlasmaClient
}
@@ -93,10 +99,7 @@
platform darwin 8 {
notes-append "\n\n${name} probably does not work at all on Mac OS X 10.4 Tiger at this time; try a later version of Mac OS X."
- depends_build-append port:pkgconfig
- pre-configure {
- configure.ldflags-append -lcrypto -ljpeg -lz [exec pkg-config sdl --libs]
- }
+ configure.ldflags-append -lcrypto -ljpeg -lz
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100925/9b65f7c5/attachment.html>
More information about the macports-changes
mailing list