The emacs23 no_x11 package requires dbus, which requires X.
Here's a patch to fix it:
--- Makefile.orig Tue Aug 14 17:36:43 2012
+++ Makefile Tue Aug 14 21:31:50 2012
@@ -56,7 +56,8 @@
. if ${FLAVOR:Mathena}
ERRORS = "Fatal: athena and no_x11 flavors are mutually
exclusive"
. endif
-CONFIGURE_ARGS += --without-x
+CONFIGURE_ARGS += --without-x --without-dbus --without-gconf
+WANTLIB-main = c m ncurses ossaudio
.elif ${FLAVOR:Mathena}
CONFIGURE_ARGS += --with-x-toolkit=athena --without-toolkit-scroll-bars