[41436] trunk/dports/devel/libsdl_image/Portfile

nox at macports.org nox at macports.org
Sun Nov 2 14:45:50 PST 2008


Revision: 41436
          http://trac.macports.org/changeset/41436
Author:   nox at macports.org
Date:     2008-11-02 14:45:49 -0800 (Sun, 02 Nov 2008)
Log Message:
-----------
libsdl_image: Don't use dlopen() to load the libraries used to open the images.

Modified Paths:
--------------
    trunk/dports/devel/libsdl_image/Portfile

Modified: trunk/dports/devel/libsdl_image/Portfile
===================================================================
--- trunk/dports/devel/libsdl_image/Portfile	2008-11-02 21:51:55 UTC (rev 41435)
+++ trunk/dports/devel/libsdl_image/Portfile	2008-11-02 22:45:49 UTC (rev 41436)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
@@ -5,7 +6,7 @@
 name            libsdl_image
 set my_name     SDL_image
 version         1.2.6
-revision        2
+revision        3
 categories      devel graphics
 platforms       macosx
 maintainers     nox openmaintainer
@@ -25,14 +26,11 @@
 
 depends_lib     port:libsdl port:libpng port:jpeg port:tiff port:zlib
 
-configure.args  --disable-sdltest
+configure.args  --disable-sdltest \
+                --enable-jpg-shared=false \
+                --enable-png-shared=false \
+                --enable-tif-shared=false
 
-post-configure {
-    # We need to pass absolute path to dlopen().
-    reinplace -E "/^DEFS =/s|(LOAD_\[A-Z\]+_DYNAMIC=\\\\\")|\\1${prefix}/lib/|g" \
-        ${worksrcpath}/Makefile
-}
-
 use_parallel_build  yes
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081102/2fabbbed/attachment.html>


More information about the macports-changes mailing list