diff options
author | jmc <jmc@pkgsrc.org> | 2003-04-24 15:00:16 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-04-24 15:00:16 +0000 |
commit | 150f0c48236acb0f28c02608e7f853af475b6dcc (patch) | |
tree | a00c6f39db868c28d98dc6ca6656835f6f8c2b43 /editors | |
parent | 2b10d5375629060be72b5c9fcd65d2b2fef0128b (diff) | |
download | pkgsrc-150f0c48236acb0f28c02608e7f853af475b6dcc.tar.gz |
If EMACS_USE_X isn't set then explicitly pass --with-x=no to configure as
otherwise it assumes X is there and random configure tests will fail that
shouldn't (like strerror because it couldn't include -lX11...)
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs20/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index 52af551df17..413b72e55c0 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/04/11 04:00:17 uebayasi Exp $ +# $NetBSD: Makefile,v 1.3 2003/04/24 15:00:16 jmc Exp $ DISTNAME= emacs-20.7 PKGREVISION= 2 @@ -50,6 +50,8 @@ CONFIGURE_ARGS+= --with-x-toolkit=${EMACS_USE_X_TOOLKIT} .include "../../mk/motif.buildlink2.mk" .endif .endif +.else +CONFIGURE_ARGS+= --with-x=no .endif # EMACS_USE_X .if defined(USE_INET6) && ${USE_INET6} == YES |