Modified: trunk/dports/devel/libsdl/Portfile (100927 => 100928)
--- 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
}
}