[36122] trunk/dports/graphics/ImageMagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Apr 18 14:27:55 PDT 2008


Revision: 36122
          http://trac.macosforge.org/projects/macports/changeset/36122
Author:   ryandesign at macports.org
Date:     2008-04-18 14:27:54 -0700 (Fri, 18 Apr 2008)

Log Message:
-----------
ImageMagick: add +rsvg variant and ensure we don't link with librsvg unless this variant is used; closes #12597

Modified Paths:
--------------
    trunk/dports/graphics/ImageMagick/Portfile

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2008-04-18 19:43:08 UTC (rev 36121)
+++ trunk/dports/graphics/ImageMagick/Portfile	2008-04-18 21:27:54 UTC (rev 36122)
@@ -78,12 +78,22 @@
     --without-lcms \
     --without-wmf \
     --without-gvc \
+    --without-rsvg \
     --mandir=${prefix}/share/man
 
 test.run                yes
 test.target             check
 test.env                DYLD_LIBRARY_PATH=${worksrcpath}/magick/.libs
 
+variant rsvg description {Support SVG using librsvg} {
+    depends_lib-append \
+        port:librsvg
+    configure.args-delete \
+        --without-rsvg
+    configure.args-append \
+        --with-rsvg
+}
+
 variant perl description {Install PerlMagick} {
     depends_lib-append \
         path:${prefix}/bin/perl:perl5.8

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080418/3843a612/attachment.html


More information about the macports-changes mailing list