On Sun, Jul 24, 2011 at 12:15 PM, Dick Hoogendijk <d...@nagual.nl> wrote: > I want a plain console version of emacs installed on my freebsd-8.2 system. > So I chose the editors/emacs-nox11 port, but I get an option screen with a > lot of options set to 'on' for which I get the feeling they are X related. > I.e. Freetype, Jpeg, Gif, GConf en lots of others. So, I'm confused and > would very much like to know *which* of those options have to be turned on > for a plaun console version of emacs. Hope to get some help.
Hi. I have the following setup for my non-X11 emacs: % cat /var/db/ports/emacs/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for emacs-23.2_4,2 _OPTIONS_READ=emacs-23.2_4,2 WITHOUT_CANNA=true WITH_DBUS=true WITH_GCONF=true WITH_GIF=true WITH_GTK2=true WITH_JPEG=true WITH_M17N=true WITHOUT_MOTIF=true WITH_OTF=true WITH_PNG=true WITH_SOUND=true WITH_SOURCES=true WITH_SVG=true WITH_TIFF=true WITHOUT_XAW=true WITH_XAW3D=true WITH_SYNC_INPUT=true WITH_SCROLLBARS=true WITH_XFT=true WITH_XIM=true WITH_XPM=true In /etc/make.conf: .if ${.CURDIR:M*/editors/emacs} WITHOUT_X11=yes .endif This is what emacs is linked to against: % ldd `which emacs` /usr/local/bin/emacs: libthr.so.3 => /lib/libthr.so.3 (0x8007a3000) libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0x8008bc000) libutil.so.8 => /lib/libutil.so.8 (0x800a0b000) libncurses.so.8 => /lib/libncurses.so.8 (0x800b1b000) libm.so.5 => /lib/libm.so.5 (0x800c68000) libc.so.7 => /lib/libc.so.7 (0x800d88000) Since there are no X11 libs in emacs despite all those options being set anyway, I suppose that setting WITHOUT_X11 creates a non-X11 emacs. I'm using the following port (normal emacs, with WITHOUT_X11 set): % echo /var/db/pkg/emacs* /var/db/pkg/emacs-23.3_1,2 But I don't know if X dependencies are being pulled in when the port is being built with all those options. -cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"