diff options
author | roy <roy> | 2010-05-05 14:26:36 +0000 |
---|---|---|
committer | roy <roy> | 2010-05-05 14:26:36 +0000 |
commit | 1e05c4e296d7520a268dba6d9dd864ac91f0c4e0 (patch) | |
tree | d506514be8fd36ead98a173d75346f4fd318ca45 /editors | |
parent | 6d586a1ebb92f5fe064f50ac21be51a496445818 (diff) | |
download | pkgsrc-1e05c4e296d7520a268dba6d9dd864ac91f0c4e0.tar.gz |
Define TERMINFO for building on NetBSD-6 for the terminfo interface.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs21/Makefile | 4 | ||||
-rw-r--r-- | editors/emacs21/Makefile.common | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile index e238c39a260..78f005890ad 100644 --- a/editors/emacs21/Makefile +++ b/editors/emacs21/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2010/01/24 13:26:10 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2010/05/05 14:26:36 roy Exp $ -PKGREVISION= 17 +PKGREVISION= 18 CATEGORIES= editors COMMENT= GNU editing macros (editor) diff --git a/editors/emacs21/Makefile.common b/editors/emacs21/Makefile.common index a3956fdb720..05fe8442901 100644 --- a/editors/emacs21/Makefile.common +++ b/editors/emacs21/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2009/04/30 17:22:06 hasso Exp $ +# $NetBSD: Makefile.common,v 1.7 2010/05/05 14:26:36 roy Exp $ DISTNAME= emacs-${EMACSVERSION}a @@ -45,6 +45,13 @@ CONFIGURE_ARGS+= --srcdir=${WRKSRC:Q} LDFLAGS+= -Wl,-z,nocombreloc .endif +# Use terminfo on NetBSD-6. +# We cannot use terminfo.*.mk as emacs WILL force a link to termcap, +# but this is fine for us. +.if (${OPSYS} == "NetBSD") && exists(/usr/include/term.h) +CPPFLAGS+= -DTERMINFO +.endif + .if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o) CPPFLAGS+= -DDFLY_CRT_USRLIB .endif |