DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st May 2008
clevershark clevershark is offline
Port Guard
 
Join Date: May 2008
Posts: 11
Thanked 0 Times in 0 Posts
Question Emacs without X?

Does anyone know a good way to install emacs *without* X on FreeBSD 7? There's no emacs-nox package, and neither the emacs or emacs21 port seems to be configurable via 'make config'.
Reply With Quote
  #2   (View Single Post)  
Old 21st May 2008
corey_james corey_james is offline
Uber Geek
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238
Thanked 4 Times in 10 Posts
Default

in /etc/make.conf put
WITHOUT_X11=yes

then compile emacs21 using the standard 'make install clean' method


edit: Or you could do
# WITHOUT_X11=yes make install clean
Reply With Quote
  #3   (View Single Post)  
Old 21st May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Code:
# cd /usr/ports/editor/emacs
# make -DWITHOUT_X11 install clean
or
Code:
# make WITHOUT_X11=set install clean
If the WITHOUT_X11 make variable is set (doesn't matter what it is set to), then the port will not build with X11 support.

Adding WITHOUT_X11=whatever to /etc/make.conf will tell all ports in the tree to build without X11 support.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #4   (View Single Post)  
Old 21st May 2008
clevershark clevershark is offline
Port Guard
 
Join Date: May 2008
Posts: 11
Thanked 0 Times in 0 Posts
Thumbs up

Thanks for the help, it's much appreciated!
Reply With Quote
Reply

Tags
emacs freebsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4.5 on macppc: emacs package, compiling ports moosejaw OpenBSD Packages and Ports 16 19th October 2009 08:25 PM
Emacs nox11 unixbsd FreeBSD Ports and Packages 2 18th March 2009 02:17 PM
C/C++ Syntax highlighting in emacs rex FreeBSD General 1 12th October 2008 03:21 AM


All times are GMT. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick