summaryrefslogtreecommitdiff
path: root/editors/emacs20
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1999-06-25 22:05:58 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1999-06-25 22:05:58 +0000
commit28395826e9965b31a2dca29a334864a570f1c73d (patch)
treedbe9aba02bb0e5ed536b68e3b143299d4491afa8 /editors/emacs20
parentUpgrade to the 19990624 pre-1.4 release. (diff)
Add non-X support by building with NO_X11 defined.
Submitted by: Matthew Seaman <m.seaman@inpharmatica.co.uk> PR: ports/11781
Notes
Notes: svn path=/head/; revision=19779
Diffstat (limited to 'editors/emacs20')
-rw-r--r--editors/emacs20/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile
index 663c483c34c9..8926d56ced81 100644
--- a/editors/emacs20/Makefile
+++ b/editors/emacs20/Makefile
@@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.39 1999/03/08 07:28:23 asami Exp $
+# $Id: Makefile,v 1.40 1999/03/11 21:47:10 scrappy Exp $
#
DISTNAME= emacs-20.3
@@ -16,10 +16,14 @@ MAINTAINER= jseger@FreeBSD.org
Y2K= http://www.gnu.org/software/year2000.html
USE_AUTOCONF= yes
-USE_XLIB= yes
USE_GMAKE= yes
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
+.if !defined(NO_X11)
CONFIGURE_ARGS= --with-x-toolkit --with-pop
+USE_XLIB= yes
+.else
+CONFIGURE_ARGS= --with-x=no --with-pop
+.endif
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
MAN1= emacs.1 etags.1 ctags.1