Revision: 100928 https://trac.macports.org/changeset/100928 Author: jeremyhu@macports.org Date: 2013-01-01 02:11:43 -0800 (Tue, 01 Jan 2013) Log Message: ----------- libsdl: Also make linking fixes in sdl-config Modified Paths: -------------- trunk/dports/devel/libsdl/Portfile Modified: trunk/dports/devel/libsdl/Portfile =================================================================== --- trunk/dports/devel/libsdl/Portfile 2013-01-01 09:44:38 UTC (rev 100927) +++ trunk/dports/devel/libsdl/Portfile 2013-01-01 10:11:43 UTC (rev 100928) @@ -9,7 +9,7 @@ name libsdl set my_name SDL version 1.2.15 -revision 1 +revision 2 categories devel multimedia platforms macosx freebsd license LGPL-2.1+ @@ -47,6 +47,8 @@ post-destroot { reinplace "/Libs:/s/-lSDLmain/-lSDLmain -Wl,-framework,AppKit/" ${destroot}${prefix}/lib/pkgconfig/sdl.pc + reinplace "s/SDLmain.a/SDLmain.a -Wl,-framework,AppKit/" ${destroot}${prefix}/bin/sdl-config + reinplace "s/-lSDLmain/-lSDLmain -Wl,-framework,AppKit/" ${destroot}${prefix}/bin/sdl-config } }
participants (1)
-
jeremyhu@macports.org