diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-01-25 15:00:53 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-01-25 15:00:53 +0000 |
commit | 3538d72b27e387fa98247aea5f1f559096ada759 (patch) | |
tree | f7533769dd35256c1080a505d79d1997916258d9 /textproc/coco | |
parent | d4a1e45ebfb4b36b69168a5c18bca666d4641149 (diff) | |
download | ports-3538d72b27e387fa98247aea5f1f559096ada759.tar.gz ports-3538d72b27e387fa98247aea5f1f559096ada759.zip |
Notes
Diffstat (limited to 'textproc/coco')
-rw-r--r-- | textproc/coco/files/patch-na | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/textproc/coco/files/patch-na b/textproc/coco/files/patch-na index 91dfca0d9d12..68edbae7ba58 100644 --- a/textproc/coco/files/patch-na +++ b/textproc/coco/files/patch-na @@ -1,14 +1,19 @@ ---- src/s/freebsd.h.orig Sun Oct 31 15:51:09 1999 -+++ src/s/freebsd.h Sun Oct 31 15:52:57 1999 -@@ -43,7 +43,11 @@ +--- src/s/freebsd.h.~1~ Tue Jan 25 16:40:44 2000 ++++ src/s/freebsd.h Tue Jan 25 16:45:23 2000 +@@ -43,7 +43,16 @@ #define LIBS_DEBUG #define LIBS_SYSTEM -lutil -lcrypt -lxpg4 --#define LIBS_TERMCAP -ltermcap -+ ++#if __FreeBSD_version < 400000 + #define LIBS_TERMCAP -ltermcap ++#else +#ifdef HAVE_LIBNCURSES +#define TERMINFO +#define LIBS_TERMCAP -lncurses ++#else ++#define LIBS_TERMCAP -ltermcap ++#endif +#endif #define SYSV_SYSTEM_DIR + |