Created
October 25, 2022 11:48
-
-
Save rokuyama/233bae41dc5cef273dfb73a64423a7fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- external/bsd/nvi/usr.bin/nvi/Makefile.orig 2021-02-26 11:54:21.000000000 +0900 | |
+++ external/bsd/nvi/usr.bin/nvi/Makefile 2022-10-25 20:22:33.424922552 +0900 | |
@@ -33,7 +33,9 @@ | |
#CPPFLAGS+=-DDBDEBUG -DTRACE | |
#CPPFLAGS+=-DQUEUEDEBUG | |
-LDADD+= -lcurses -lterminfo -lutil | |
+#LDADD+= -lcurses -lterminfo -lutil | |
+CPPFLAGS+= -DNCURSES_WIDECHAR -I/usr/pkg/include -I/usr/pkg/include/ncursesw | |
+LDADD+= -L/usr/pkg/lib -Wl,-R,/usr/pkg/lib -lncursesw -lutil | |
DPADD+= ${LIBCURSES} ${LIBTERMINFO} ${LIBUTIL} | |
PROG= vi | |
SRCS= api.c cl_bsd.c cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment