diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-02-23 09:02:41 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-02-23 09:02:41 +0000 |
commit | 47980a3a1cab25048074b1ef0fe708f528db783f (patch) | |
tree | 02625f0501b3efd59c6f1ac3e73c532dc3ce2700 | |
parent | Add some files installed by the port that were not included in the (diff) |
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>
-rw-r--r-- | editors/emacs21/Makefile | 2 | ||||
-rw-r--r-- | editors/emacs21/files/patch-src:s:freebsd.h | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/editors/emacs21/Makefile b/editors/emacs21/Makefile index d2224932a3c9..6cbb0961c5c4 100644 --- a/editors/emacs21/Makefile +++ b/editors/emacs21/Makefile @@ -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} diff --git a/editors/emacs21/files/patch-src:s:freebsd.h b/editors/emacs21/files/patch-src:s:freebsd.h new file mode 100644 index 000000000000..2eb9ea8823ee --- /dev/null +++ b/editors/emacs21/files/patch-src:s:freebsd.h @@ -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 |