freebsd-ports/japanese/lipsf/files/patch-machine.h
John Marino 42770a946e japanese/lipsf: USES+= ncurses, respect LDFLAGS
Also link with ncurses, not curses or termcap
2016-02-13 12:18:10 +00:00

14 lines
325 B
C

--- machine.h.orig 2002-05-27 15:00:00 UTC
+++ machine.h
@@ -841,9 +841,9 @@ typedef long off_t;
#endif
#ifndef TERMCAPLIB
# ifdef USETERMINFO
-# define TERMCAPLIB "-lcurses"
+# define TERMCAPLIB "-lncurses"
# else
-# define TERMCAPLIB "-ltermlib"
+# define TERMCAPLIB "-lncurses"
# endif
#endif
#ifndef REGEXPLIB