SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
25
emulators/bochs/patches/patch-configure_in
Normal file
25
emulators/bochs/patches/patch-configure_in
Normal file
|
@ -0,0 +1,25 @@
|
|||
the configure script tries to use pkg-config to get the LDFLAGS for
|
||||
ncurses, but we don't have .pc files for libncurses, so fall back to the
|
||||
hardcoded -lncurses.
|
||||
|
||||
Index: configure.in
|
||||
--- configure.in.orig
|
||||
+++ configure.in
|
||||
@@ -2929,17 +2929,7 @@ AC_SUBST(CI_SUPPORT_OBJS)
|
||||
AC_SUBST(EXPORT_DYNAMIC)
|
||||
|
||||
if test "$use_curses" = yes; then
|
||||
- if test "$PKGCONFIG" != not_found; then
|
||||
- AC_CHECK_LIB(curses, mvaddch, GUI_LINK_OPTS_TERM="`pkg-config --libs curses`")
|
||||
- AC_CHECK_LIB(ncurses, mvaddch, GUI_LINK_OPTS_TERM="`pkg-config --libs ncurses`")
|
||||
- AC_CHECK_LIB(termlib, mvaddch, GUI_LINK_OPTS_TERM="`pkg-config --libs termlib`")
|
||||
- AC_CHECK_LIB(pdcurses, mvaddch, GUI_LINK_OPTS_TERM="`pkg-config --libs pdcurses`")
|
||||
- else
|
||||
- AC_CHECK_LIB(curses, mvaddch, GUI_LINK_OPTS_TERM='-lcurses')
|
||||
AC_CHECK_LIB(ncurses, mvaddch, GUI_LINK_OPTS_TERM='-lncurses')
|
||||
- AC_CHECK_LIB(termlib, mvaddch, GUI_LINK_OPTS_TERM='-ltermlib')
|
||||
- AC_CHECK_LIB(pdcurses, mvaddch, GUI_LINK_OPTS_TERM='-lpdcurses')
|
||||
- fi
|
||||
if test "$GUI_LINK_OPTS_TERM" = ""; then
|
||||
echo Curses library not found: tried curses, ncurses, termlib and pdcurses.
|
||||
exit 1
|
Loading…
Add table
Add a link
Reference in a new issue