Add patch to oksh configure for netbsd-compatibility

parent a2dd3687
--- configure
+++ configure
@@ -101,7 +101,7 @@
#include <curses.h>
int main(void){setupterm(NULL, 0, NULL);return 0;}
EOF
- $cc $cflags $ldflags -o conftest conftest.c -lcurses > /dev/null 2>&1
+ $cc $cflags $ldflags -o conftest conftest.c -lcurses -lterminfo > /dev/null 2>&1
if [ $? -eq 0 ] ; then
rm -f conftest conftest.o conftest.c
return 0
@@ -688,7 +688,7 @@
if [ $curses -eq 1 ] ; then
cursescheck
if [ $? -eq 0 ] ; then
- libs="-lcurses"
+ libs="-lcurses -lterminfo"
echo "#define HAVE_CURSES" >> pconfig.h
echo "curses.h"
else
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment