Revision
75372
Author
dports@macports.org
Date
2011-01-23 11:53:10 -0800 (Sun, 23 Jan 2011)

Log Message

emacs: do not depend on librsvg for +x11, only for +gtk (avoids
pulling in gtk as a dependency because librsvg depends on it)

Modified Paths

Diff

Modified: trunk/dports/editors/emacs/Portfile (75371 => 75372)


--- trunk/dports/editors/emacs/Portfile	2011-01-23 19:33:38 UTC (rev 75371)
+++ trunk/dports/editors/emacs/Portfile	2011-01-23 19:53:10 UTC (rev 75372)
@@ -6,7 +6,7 @@
 
 name            emacs
 version         23.2
-revision        4
+revision        5
 
 categories      editors
 maintainers     dports openmaintainer
@@ -58,7 +58,7 @@
                             --with-tiff \
                             --with-gif \
                             --with-png \
-                            --with-rsvg \
+                            --without-rsvg \
                             --with-xft 
     depends_lib-append      port:xorg-libXmu \
                             port:xorg-libXaw \
@@ -67,7 +67,6 @@
                             port:tiff \
                             port:giflib \
                             port:libpng \
-                            port:librsvg \
                             port:Xft2
 
     # autoconf appears to be dropping linker flags for freetype &
@@ -84,9 +83,12 @@
 variant gtk requires x11 description {Builds emacs as an X11 program with GTK+2 widgets} {
     configure.args-delete   --with-x-toolkit=lucid
     configure.args-delete   --without-gconf
+    configure.args-delete   --without-rsvg
     configure.args-append   --with-x-toolkit=gtk
     configure.args-append   --with-gconf
+    configure.args-append   --with-rsvg
     depends_lib-append      port:gtk2 \
                             port:glib2 \
-                            port:gconf
+                            port:gconf \
+                            port:librsvg
 }