You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-editors/shed/files/shed-1.15-tinfo.patch

13 lines
355 B

--- a/configure.in
+++ b/configure.in
@@ -41,8 +41,7 @@
fi
ERR="Required package missing!"
-AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([$ERR]))
+PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS"],AC_MSG_ERROR([$ERR]))
AC_CHECK_HEADER(getopt.h,:,AC_MSG_ERROR([$ERR]))
-AC_CHECK_LIB(ncurses,initscr)
AC_CHECK_LIB(m,pow)
AC_OUTPUT(Makefile)