diff options
author | roy <roy> | 2010-05-05 15:17:50 +0000 |
---|---|---|
committer | roy <roy> | 2010-05-05 15:17:50 +0000 |
commit | b0206c361c24401b95cc63e365e95d6ba3740972 (patch) | |
tree | 644ee944eab69d7cb1c706b5a5ef7c26078158ad /editors | |
parent | 497238c056e89d9547ce2e6864905b066f9ebf33 (diff) | |
download | pkgsrc-b0206c361c24401b95cc63e365e95d6ba3740972.tar.gz |
Enable terminfo support for NetBSD if available.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/Makefile.common | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/emacs/Makefile.common b/editors/emacs/Makefile.common index a7972ad3a77..db089b2e017 100644 --- a/editors/emacs/Makefile.common +++ b/editors/emacs/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.25 2010/02/21 12:26:36 wiz Exp $ +# $NetBSD: Makefile.common,v 1.26 2010/05/05 15:17:50 roy Exp $ # # used by editors/emacs/Makefile # used by editors/emacs-nox11/Makefile @@ -58,7 +58,9 @@ CHECK_WRKREF_SKIP+= bin/emacs-${EMACS_VERSION} CPPFLAGS+= -DDFLY_CRT_USRLIB .endif -.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "OpenBSD" +.if (${OPSYS} == "NetBSD") && exists(/usr/include/term.h) +CPPFLAGS+= -DTERMINFO +.elif ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "OpenBSD" .include "../../mk/curses.buildlink3.mk" .else .include "../../mk/termcap.buildlink3.mk" |