Hi, The emacs.desktop and emacs icon files shipped by the various emacs-24.3 flavors aren't useful for the no_x11 flavor, so I'd rather drop the run-deps on desktop-file-utils and guic for the no_x11 case.
ok? Index: Makefile =================================================================== RCS file: /cvs/ports/editors/emacs/Makefile,v retrieving revision 1.43 diff -u -p -U10 -r1.43 Makefile --- Makefile 11 Dec 2013 12:36:02 -0000 1.43 +++ Makefile 5 Jan 2014 00:02:39 -0000 @@ -1,17 +1,17 @@ # $OpenBSD: Makefile,v 1.43 2013/12/11 12:36:02 juanfra Exp $ COMMENT= GNU editor: extensible, customizable, self-documenting VERSION= 24.3 DISTNAME= emacs-${VERSION} -REVISION= 3 +REVISION= 4 CATEGORIES= editors HOMEPAGE= https://www.gnu.org/software/emacs/ MAINTAINER= Jeremie Courreges-Anglas <j...@wxcvbn.org> # GPLv3+ PERMIT_PACKAGE_CDROM= Yes @@ -35,38 +35,39 @@ CONFIGURE_ARGS= --build="${GCCARCH}" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DHAVE_SOUND" \ LDFLAGS="-L${LOCALBASE}/lib -nopie" CFLAGS+= -fno-pie MAKE_ENV= INSTALL_EMACS="${INSTALL_SCRIPT}" \ LOGNAME="${SHAREOWN}" SUBST_VARS= GCCARCH VERSION MODULES= devel/gettext -RUN_DEPENDS= devel/desktop-file-utils x11/gtk+2,-guic LIB_DEPENDS= devel/libexecinfo security/gnutls textproc/libxml .if ${FLAVOR} == "no_x11" CONFIGURE_ARGS+= --without-x \ --without-dbus \ --without-gconf \ --without-gsettings .else LIB_DEPENDS+= x11/dbus \ x11/gnome/librsvg \ devel/gconf2 \ graphics/jpeg \ graphics/png \ graphics/tiff \ graphics/giflib \ graphics/ImageMagick -RUN_DEPENDS+= devel/xdg-utils +RUN_DEPENDS+= devel/desktop-file-utils \ + devel/xdg-utils \ + x11/gtk+2,-guic WANTLIB+= dbus-1 rsvg-2 gio-2.0 gdk_pixbuf-2.0 gobject-2.0 \ glib-2.0 gconf-2 cairo png jpeg tiff gif z \ MagickWand MagickCore . if ${FLAVOR} == "athena" CONFIGURE_ARGS+= --with-x-toolkit=athena LIB_DEPENDS+= x11/Xaw3d WANTLIB+= ICE SM X11 Xaw3d Xext Xft Xmu Xpm Xrender Xt \ expat fontconfig freetype . elif ${FLAVOR} == "gtk2" CONFIGURE_ARGS+= --with-x-toolkit=gtk2 -- jca | PGP: 0x06A11494 / 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494