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

Paul Hoffman phoffman at proper.com
Wed May 26 05:07:48 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)
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/146979: editors/emacs configuration ignores "-D
 WITHOUT_X11"
Date: Tue, 25 May 2010 19:55:44 -0700

 At 5:10 AM +0530 5/26/10, Ashish SHUKLA wrote:
 > > Is the use of the config dialog inherently incompatible with -D variables?
 >
 >config UI is just a helper UI to let you set OPTIONS which a port claims to
 >support.
 
 Right.
 
 >You can set those OPTIONS over command-line also, and how those
 >OPTIONS are being interpreted is upto the port Makefile.
 
 Sure, but the Makefile for emacs ignores the commandline arguments when it sets the defaults for the config UI. Shouldn't the Makefile first process the commandline arguments and make sensible defaults?
 
 And, again, I have to ask: 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? It is far from obvious.
 
 --Paul Hoffman



More information about the freebsd-ports-bugs mailing list