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

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 28 19:52:07 PST 2006


Revision: 20792
          http://trac.macosforge.org/projects/macports/changeset/20792
Author:   markd at macports.org
Date:     2006-11-28 19:52:06 -0800 (Tue, 28 Nov 2006)

Log Message:
-----------
Closes #10624.  Install x11 support by default, use nox11 variant to turn it off.

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

Modified: trunk/dports/graphics/ImageMagick/Portfile
===================================================================
--- trunk/dports/graphics/ImageMagick/Portfile	2006-11-28 22:15:26 UTC (rev 20791)
+++ trunk/dports/graphics/ImageMagick/Portfile	2006-11-29 03:52:06 UTC (rev 20792)
@@ -32,15 +32,16 @@
 
 worksrcdir			${name}-6.3.0
 
-depends_lib			port:bzip2 port:jpeg port:libpng port:tiff \
+depends_lib			lib:libX11.6:XFree86 \
+					port:bzip2 port:jpeg port:libpng port:tiff \
 					port:zlib port:freetype port:libxml2
 
 configure.env		CPPFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
 configure.args		--enable-shared --disable-static --disable-ltdl-install \
 					--with-dps --with-ttf --with-bzlib --with-jpeg \
 					--with-png --with-tiff --with-zlib --with-modules \
-					--with-xml \
-					--without-x --without-perl --without-fpx \
+					--with-xml --with-x \
+					--without-perl --without-fpx \
 					--without-gslib --without-jbig --without-jp2 \
 					--without-lcms --without-wmf --without-gvc \
 					--mandir=${prefix}/share/man
@@ -90,10 +91,10 @@
 	configure.args-append	--with-gvc
 }
 
-variant x11 {
-	depends_lib-append		lib:libX11.6:XFree86
-	configure.args-delete	--without-x
-	configure.args-append	--with-x
+variant nox11 {
+	depends_lib-delete		lib:libX11.6:XFree86
+	configure.args-delete	--with-x
+	configure.args-append	--without-x
 }
 
 variant no-plus-plus {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061128/70365ce6/attachment.html


More information about the macports-changes mailing list