aboutsummaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-07-04 03:28:44 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-07-04 03:28:44 +0000
commit572a4c993a6b6b0c4ceff399a3ea1cfacb2545a9 (patch)
treecc972da3c6d135b77c55d8600383f4c9e92287d8 /editors/emacs22
parent56f6f8363f5c8c0ec8c863c754b4bc2b9d1ca48f (diff)
downloadports-572a4c993a6b6b0c4ceff399a3ea1cfacb2545a9.tar.gz
ports-572a4c993a6b6b0c4ceff399a3ea1cfacb2545a9.zip
Bring over the NO_X11 changes from emacs20. (define NO_X11 to build without
an X dependancy)
Notes
Notes: svn path=/head/; revision=19985
Diffstat (limited to 'editors/emacs22')
-rw-r--r--editors/emacs22/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 5e3ef7f9bc72..75a22fa070dc 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -3,7 +3,7 @@
# Date created: 29 October 1994
# Whom: jkh
#
-# $Id: Makefile,v 1.38 1999/03/11 21:47:10 scrappy Exp $
+# $Id: Makefile,v 1.39 1999/06/05 22:29:14 mharo Exp $
#
DISTNAME= emacs-19.34b
@@ -21,9 +21,13 @@ PLIST_SUB= EMACS_VERSION=${EMACS_VERSION} EMACS_ARCH=${CONFIGURE_TARGET}
NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/emacs-19.34
GNU_CONFIGURE= yes
-USE_XLIB= yes
USE_GMAKE= yes
+.if !defined(NO_X11)
CONFIGURE_ARGS= --with-x-toolkit --sharedstatedir=/var/run
+USE_XLIB= yes
+.else
+CONFIGURE_ARGS= --with-x=no --sharedstatedir=/var/run
+.endif
STRIP=
MAN1= emacs.1 etags.1 ctags.1