diff options
Diffstat (limited to 'editors/emacs20/Makefile')
-rw-r--r-- | editors/emacs20/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/editors/emacs20/Makefile b/editors/emacs20/Makefile index 9ef088c0e2d..451b90e9968 100644 --- a/editors/emacs20/Makefile +++ b/editors/emacs20/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.39 2010/02/04 06:40:19 dholland Exp $ +# $NetBSD: Makefile,v 1.40 2010/03/30 00:44:47 dholland Exp $ DISTNAME= emacs-20.7 -PKGREVISION= 13 +PKGREVISION= 14 CATEGORIES= editors MASTER_SITES= http://ftp.gnu.org/pub/old-gnu/emacs/ \ ftp://ftp.gnu.org/pub/old-gnu/emacs @@ -53,6 +53,11 @@ CHECK_WRKREF_SKIP+= bin/emacs-20.7 LDFLAGS+= -Wl,-z,nocombreloc .endif +# NetBSD < 5.99.24 uses termcap; afterwards terminfo. Emacs needs to be told. +.if (${OPSYS} == "NetBSD") && !exists(/usr/include/term.h) +CPPFLAGS+=-D__NETBSD_USE_TERMCAP__ +.endif + .if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o) CPPFLAGS+= -DDFLY_CRT_USRLIB .endif |