[56649] trunk/dports/devel

jeremyhu at macports.org jeremyhu at macports.org
Mon Aug 31 10:16:44 PDT 2009


Revision: 56649
          http://trac.macports.org/changeset/56649
Author:   jeremyhu at macports.org
Date:     2009-08-31 10:16:40 -0700 (Mon, 31 Aug 2009)
Log Message:
-----------
libsdl_*, sdlconsole, ocamlsdl: Allow libsdl-devel to satisfy SDL dependency

Modified Paths:
--------------
    trunk/dports/devel/libsdl/Portfile
    trunk/dports/devel/libsdl_gfx/Portfile
    trunk/dports/devel/libsdl_image/Portfile
    trunk/dports/devel/libsdl_net/Portfile
    trunk/dports/devel/libsdl_pango/Portfile
    trunk/dports/devel/libsdl_ttf/Portfile
    trunk/dports/devel/ocamlsdl/Portfile
    trunk/dports/devel/sdlconsole/Portfile

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/libsdl/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -36,7 +36,9 @@
 patchfiles      patch-SDL_x11gl_c.h.diff
 
 configure.args  --enable-shared \
-                --mandir=${prefix}/share/man
+                --mandir=${prefix}/share/man \
+                --x-include=${prefix}/include \
+                --x-lib=${prefix}/lib
 
 variant no_x11 {
         configure.args-append --without-x
@@ -98,6 +100,13 @@
     }
 }
 
+platform darwin 10 {
+	# This doesn't build correctly against the 10.6 SDK due to using deprecated (10.5) and removed (10.6) API
+	macosx_deployment_target 10.5
+	configure.cppflags-append -isysroot /Developer/SDKs/MacOSX10.5.sdk
+	configure.cflags-append -isysroot /Developer/SDKs/MacOSX10.5.sdk
+}
+
 livecheck.check regex
 livecheck.url   ${homepage}download.php
 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)

Modified: trunk/dports/devel/libsdl_gfx/Portfile
===================================================================
--- trunk/dports/devel/libsdl_gfx/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/libsdl_gfx/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -27,7 +27,7 @@
                     rmd160  354c939e4901644b80c82e7a9e5c04b93a70306b
 
 depends_build		port:libtool
-depends_lib		port:libsdl port:libiconv
+depends_lib		path:lib/pkgconfig/sdl.pc:libsdl port:libiconv
 
 post-extract { system "chmod +x ${worksrcpath}/install-sh" }
 

Modified: trunk/dports/devel/libsdl_image/Portfile
===================================================================
--- trunk/dports/devel/libsdl_image/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/libsdl_image/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -23,7 +23,7 @@
                     sha1    0cffd05e41014651e7114d7fea309c9f37ef2d8a \
                     rmd160  d54233077c0a49f075bf11dc1cc2cfe7c0a64efa
 
-depends_lib     port:libsdl port:libpng port:jpeg port:tiff port:zlib
+depends_lib     path:lib/pkgconfig/sdl.pc:libsdl port:libpng port:jpeg port:tiff port:zlib
 
 configure.args  --disable-sdltest \
                 --enable-jpg-shared=false \

Modified: trunk/dports/devel/libsdl_net/Portfile
===================================================================
--- trunk/dports/devel/libsdl_net/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/libsdl_net/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -22,7 +22,7 @@
                 sha1 b46c7e3221621cc34fec1238f1b5f0ce8972274d \
                 rmd160 5c95cf28f35ceb796188323666b92cafa60fba25
 
-depends_lib     port:libsdl
+depends_lib     path:lib/pkgconfig/sdl.pc:libsdl
 
 configure.args  --disable-sdltest
 

Modified: trunk/dports/devel/libsdl_pango/Portfile
===================================================================
--- trunk/dports/devel/libsdl_pango/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/libsdl_pango/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -18,6 +18,6 @@
 checksums	  sha1 c30f2941d476d9362850a150d29cb4a93730af68 \
 		  rmd160 d2531cfbe726d27054ca03978721bcc76413379a
 
-depends_lib	  port:libsdl port:fontconfig path:lib/pkgconfig/pango.pc:pango
+depends_lib	  path:lib/pkgconfig/sdl.pc:libsdl port:fontconfig path:lib/pkgconfig/pango.pc:pango
 
 patchfiles	  patch-SDL_Pango-0.1.2-API-adds.diff

Modified: trunk/dports/devel/libsdl_ttf/Portfile
===================================================================
--- trunk/dports/devel/libsdl_ttf/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/libsdl_ttf/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -22,7 +22,7 @@
                 sha1 6bc3618b08ddbbf565fe8f63f624782c15e1cef2 \
                 rmd160 4e0b0f727f73b5d8a579e3e615ab4f50ec992b82
 
-depends_lib     port:libsdl \
+depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
                 port:freetype
 
 configure.args  --disable-sdltest

Modified: trunk/dports/devel/ocamlsdl/Portfile
===================================================================
--- trunk/dports/devel/ocamlsdl/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/ocamlsdl/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -18,6 +18,6 @@
                   sha1   eddaefdc2897bf46c5bc2e87f402966c901c8390 \
                   rmd160 8a7bebda15e80c9d6c9dcda4ce6c431de8dcfc93
 patchfiles              patch-configure.diff patch-src-Makefile.diff
-depends_lib       port:libsdl port:libsdl_image port:libsdl_mixer port:libsdl_ttf port:ocaml port:lablgl
+depends_lib       port:libsdl_image port:libsdl_mixer port:libsdl_ttf port:ocaml port:lablgl
 configure.args    --without-findlib
 

Modified: trunk/dports/devel/sdlconsole/Portfile
===================================================================
--- trunk/dports/devel/sdlconsole/Portfile	2009-08-31 17:13:04 UTC (rev 56648)
+++ trunk/dports/devel/sdlconsole/Portfile	2009-08-31 17:16:40 UTC (rev 56649)
@@ -23,7 +23,7 @@
 		sha1 ac1415d8049286a75c409465245a859c3a243173 \
 		rmd160 67efe2f4c6819b107982a4e6657bf9e58d241f64
 
-depends_lib port:libsdl port:libsdl_image
+depends_lib port:libsdl_image
 
 configure.args	--with-sdl-prefix=${prefix} --disable-sdltest
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090831/dda147e1/attachment-0001.html>


More information about the macports-changes mailing list