From c95c007ad2f324935d5157f0d4464462de52c0b0 Mon Sep 17 00:00:00 2001 From: roy Date: Wed, 5 May 2010 15:17:50 +0000 Subject: Enable terminfo support for NetBSD if available. --- editors/emacs/Makefile.common | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'editors') 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" -- cgit v1.2.3