Revision: 81684 http://trac.macports.org/changeset/81684 Author: dports@macports.org Date: 2011-08-04 03:36:17 -0700 (Thu, 04 Aug 2011) Log Message: ----------- emacs: move dbus support to a variant, add a temporary note explaining that it is no longer installed by default (#30496) texinfo isn't needed at runtime; make it a build dependency only. Modified Paths: -------------- trunk/dports/editors/emacs/Portfile Modified: trunk/dports/editors/emacs/Portfile =================================================================== --- trunk/dports/editors/emacs/Portfile 2011-08-04 10:13:40 UTC (rev 81683) +++ trunk/dports/editors/emacs/Portfile 2011-08-04 10:36:17 UTC (rev 81684) @@ -6,7 +6,7 @@ name emacs version 23.3 -revision 2 +revision 3 # Source tarball is now tagged "23.3a" but is the same as 23.3. See #30513. distname ${name}-${version}a @@ -37,17 +37,16 @@ patchfiles-append patch-src_unexmacosx.c.diff configure.args --without-x \ - --with-dbus \ + --without-dbus \ --without-gconf \ --without-libotf \ --without-m17n-flt \ --without-gpm \ --infodir ${prefix}/share/info/${name} -depends_build port:pkgconfig -depends_lib port:ncurses \ - port:dbus \ +depends_build port:pkgconfig \ port:texinfo +depends_lib port:ncurses post-destroot { xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim @@ -106,3 +105,13 @@ port:gconf \ port:librsvg } + +variant dbus description {Builds emacs with D-Bus support} { + configure.args-delete --without-dbus + configure.args-append --with-dbus + depends_lib-append port:dbus +} + +if {![variant_isset dbus]} { + notes "D-Bus support is no longer included in the default Emacs installation. To build Emacs with D-Bus support, please install with the +dbus variant." +}