[79253] trunk/dports/devel/libdevil/Portfile

jmr at macports.org jmr at macports.org
Mon Jun 6 19:23:57 PDT 2011


Revision: 79253
          http://trac.macports.org/changeset/79253
Author:   jmr at macports.org
Date:     2011-06-06 19:23:54 -0700 (Mon, 06 Jun 2011)
Log Message:
-----------
libdevil: enable opengl (#24964), add X11 deps since it uses them even if told not to, add sdl variant

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

Modified: trunk/dports/devel/libdevil/Portfile
===================================================================
--- trunk/dports/devel/libdevil/Portfile	2011-06-07 02:02:58 UTC (rev 79252)
+++ trunk/dports/devel/libdevil/Portfile	2011-06-07 02:23:54 UTC (rev 79253)
@@ -33,20 +33,22 @@
 depends_lib         port:lcms \
                     port:libmng \
                     port:libpng \
-                    port:jasper
+                    port:jasper \
+                    port:xrender \
+                    port:mesa
 
 patchfiles          patch-ilur.c \
                     patch-devil_internal_exports.h.diff
 
-configure.args      --disable-exr \
-                    --enable-ILU \
+configure.args      --enable-ILU \
                     --enable-ILUT \
+                    --enable-x11 \
+                    --enable-render \
+                    --enable-shm \
                     --disable-allegro \
+                    --disable-exr \
                     --disable-sdl \
-                    --disable-opengl \
-                    --disable-x11 \
-                    --disable-render \
-                    --disable-shm
+                    --disable-xpm
 if {![variant_isset universal]} {
     if {${configure.build_arch} == "i386"} {
         configure.args-append   --enable-x86
@@ -68,6 +70,11 @@
     file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${name}
 }
 
+variant sdl description {Enable libSDL renderer} {
+    depends_lib-append port:libsdl
+    configure.args-delete --disable-sdl
+}
+
 livecheck.type      regex
 livecheck.url       http://sourceforge.net/project/showfiles.php?group_id=4470&package_id=24273
 livecheck.regex     "DevIL-(.+?).tar.gz"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110606/8b7ba597/attachment.html>


More information about the macports-changes mailing list