pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/emacs Enable terminfo support for NetBSD if av...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4cdb89dbefa4
branches: trunk
changeset: 575186:4cdb89dbefa4
user: roy <roy%pkgsrc.org@localhost>
date: Wed May 05 15:17:50 2010 +0000
description:
Enable terminfo support for NetBSD if available.
diffstat:
editors/emacs/Makefile.common | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 5c25438e122c -r 4cdb89dbefa4 editors/emacs/Makefile.common
--- a/editors/emacs/Makefile.common Wed May 05 14:32:00 2010 +0000
+++ b/editors/emacs/Makefile.common Wed May 05 15:17:50 2010 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index