add a no_X11 emacs flavor

This commit is contained in:
turan 2000-04-09 20:34:02 +00:00
parent d54727817d
commit 65ef0e258d
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2000/03/14 07:58:34 kevlo Exp $
# $OpenBSD: Makefile,v 1.15 2000/04/09 20:34:02 turan Exp $
# $FreeBSD: Makefile,v 1.44 1997/09/13 20:19:28 chuckr Exp $
#
@ -10,6 +10,7 @@
SUBDIR += bvi
# SUBDIR += e93
SUBDIR += emacs
SUBDIR += emacs:no_X11
SUBDIR += hexedit
SUBDIR += jed
SUBDIR += joe

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2000/03/07 02:13:10 espie Exp $
# $OpenBSD: Makefile,v 1.17 2000/04/09 20:34:02 turan Exp $
VER= 20.3
DISTNAME= emacs-${VER}
@ -15,6 +15,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= no_X11
HAS_CONFIGURE= Yes
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
USE_GMAKE= Yes
@ -29,7 +31,12 @@ M_ARCH= ${MACHINE_ARCH}
.endif
GCCARCH= ${M_ARCH}-unknown-openbsd${OPSYS_VER}
.if defined(FLAVOR) && ${FLAVOR:L:Mno_X11}
CONFIGURE_ARGS+=--without-x
.else
CONFIGURE_ARGS+=${GCCARCH} --with-x-toolkit
.endif
# Do NOT strip on install. We will strip those things that can be
# stripped after install. (emacs crashes if stripped on an alpha)