summaryrefslogtreecommitdiffstats
path: root/editors/emacs20
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1999-06-25 22:05:58 +0000
committerjseger <jseger@FreeBSD.org>1999-06-25 22:05:58 +0000
commit37656ce1b7440857063f342dc1bb57e190f1b0d0 (patch)
treede12584baafe42c417199f5baae1dd16d19d0077 /editors/emacs20
parente634550a77ff9e5f6ee041667d6b9bbf6a2f1e3c (diff)
downloadFreeBSD-ports-37656ce1b7440857063f342dc1bb57e190f1b0d0.zip
FreeBSD-ports-37656ce1b7440857063f342dc1bb57e190f1b0d0.tar.gz
Add non-X support by building with NO_X11 defined.
Submitted by: Matthew Seaman <m.seaman@inpharmatica.co.uk> PR: ports/11781
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 663c483..8926d56 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
OpenPOWER on IntegriCloud