[100928] trunk/dports/devel/libsdl/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jan 1 02:11:43 PST 2013


Revision: 100928
          https://trac.macports.org/changeset/100928
Author:   jeremyhu at 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 
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130101/6fd313b1/attachment.html>


More information about the macports-changes mailing list