1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Link libncurses to avoid segfaults when emacs is executed with -nw option

and TERM=kterm-color.

Submitted by:	Mori Kouji <mori@tri.asanuma.co.jp>
This commit is contained in:
MANTANI Nobutaka 2002-02-23 09:02:41 +00:00
parent 536f99d4bd
commit 47980a3a1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55121
2 changed files with 15 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= emacs
PORTVERSION= 21.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -0,0 +1,14 @@
--- src/s/freebsd.h.orig Tue Feb 20 19:52:17 2001
+++ src/s/freebsd.h Mon Feb 18 11:51:50 2002
@@ -68,6 +68,11 @@
#define LIBS_SYSTEM -lutil
#if __FreeBSD_version < 400000
#define LIBS_TERMCAP -ltermcap
+#else
+#ifdef HAVE_LIBNCURSES
+#define TERMINFO
+#define LIBS_TERMCAP -lncurses
+#endif
#endif
#define SYSV_SYSTEM_DIR