ports/146979: editors/emacs configuration ignores "-D WITHOUT_X11"

Paul Hoffman phoffman at proper.com
Tue May 25 23:30:06 UTC 2010


The following reply was made to PR ports/146979; it has been noted by GNATS.

From: Paul Hoffman <phoffman at proper.com>
To: wahjava at gmail.com (Ashish SHUKLA), bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/146979: editors/emacs configuration ignores "-D
 WITHOUT_X11"
Date: Tue, 25 May 2010 16:28:14 -0700

 At 4:21 AM +0530 5/26/10, Ashish SHUKLA wrote:
 >Hi Paul,
 >
 >The values of the OPTIONS (displayed by 'make config') are stored in
 >/var/db/ports/${PORTNAME}/options file. 'make config' reads/writes that file
 >and doesn't care about what options are set/unset, and there is no way you can
 >specify any dependency.
 >
 >Just think of that interface as a board of MCBs[1], where you can turn off the
 >main MCB, and power will cut off, but that doesn't cause state of other MCBs
 >to change.
 >
 >References:
 >[1]  http://en.wikipedia.org/wiki/Circuit_breaker
 >
 >I hope this clarifies your doubt.
 
 It does not. What does it mean for a user to say "make -DWITHOUT_X11", sees the config, and leaves "X11" checked? Will "make" require X11 or not?
 
 I'm pretty sure "make -DWITHOUT_X11" worked as expected a few years ago when I created editors/emacs-nox11.
 
 There is a strong need for servers that don't want to have lots of X11-specific goop installed to be able to install current Emacs. The config dialog should not fight with that.
 
 Is the use of the config dialog inherently incompatible with -D variables?



More information about the freebsd-ports-bugs mailing list