diff options
author | jmc <jmc> | 2003-04-24 15:00:16 +0000 |
---|---|---|
committer | jmc <jmc> | 2003-04-24 15:00:16 +0000 |
commit | 8f20fcfa31cb1240f4a461503c977760cba16f47 (patch) | |
tree | a00c6f39db868c28d98dc6ca6656835f6f8c2b43 /editors/emacs20 | |
parent | 1f3f59da617a1f9350bc3ed4c579ea0203520413 (diff) | |
download | pkgsrc-8f20fcfa31cb1240f4a461503c977760cba16f47.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/emacs20')
-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 |