Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 1999 07:51:07 -0700 (PDT)
From:      m.seaman@inpharmatica.co.uk
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/11781: Option to not use X windows support wherever possible
Message-ID:  <19990519145107.7BEFB155DE@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11781
>Category:       ports
>Synopsis:       Option to not use X windows support wherever possible
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 19 08:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        3.2-STABLE of 19990519
>Organization:
Inpharmatica Ltd.
>Environment:
uname -a 
FreeBSD b9.farm.inpharmatica.co.uk 3.2-STABLE FreeBSD 3.2-STABLE #0: Wed May 19 13:27:30 BST 1999     matthew@b9.farm.inpharmatica.co.uk:/usr/src/sys/compile/FARM  alpha
>Description:
Certain ports could optionally be built without X windows support: for 
example editors/emacs20 --- the underlying GNU autoconf mechanism
supports a `--with-x=no' argument.  In cases like this I suggest that
X windows support should be excluded conditionally on setting an
environment variable, eg. `NO_X'
>How-To-Repeat:
cd /usr/ports/editors/emacs20
make
>Fix:
diff -u Makefile Makefile.no-x
--- Makefile    Thu Mar 11 21:47:10 1999
+++ Makefile.no-x       Wed May 19 15:28:53 1999
@@ -16,10 +16,16 @@
 Y2K=            http://www.gnu.org/software/year2000.html
 
 USE_AUTOCONF=  yes
+.if !defined(NO_X) 
 USE_XLIB=      yes
+.endif
 USE_GMAKE=     yes
 CONFIGURE_TARGET=      ${MACHINE_ARCH}--freebsd
+.if !defined(NO_X)
 CONFIGURE_ARGS=        --with-x-toolkit --with-pop
+.else
+CONFIGURE_ARGS=        --with-x=no --with-pop
+.endif
 
 MAKE_ENV=      INSTALL_SCRIPT="${INSTALL_SCRIPT}"
 MAN1=          emacs.1 etags.1 ctags.1


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990519145107.7BEFB155DE>