diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch')
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch new file mode 100644 index 000000000000..60720c7da8b9 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch @@ -0,0 +1,33 @@ +--- a/configure.in ++++ b/configure.in +@@ -8,9 +8,7 @@ + AC_PROG_INSTALL + AC_PROG_MAKE_SET + +-dnl Checks for libraries. +-dnl Replace `main' with a function in -lncurses: +-AC_CHECK_LIB(ncurses, main) ++PKG_PROG_PKG_CONFIG + + dnl Checks for header files. + AC_HEADER_STDC +@@ -26,18 +24,7 @@ + + AC_CHECK_HEADERS(curses.h ncurses.h) + +-CURSES_LIB_NAME="" +-AC_CHECK_LIB(ncurses, tgetent, CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses) +- +-if eval "test x$CURSES_LIB_NAME = x" +-then +- AC_CHECK_LIB(curses, tgetent, CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses) +-fi +- +-if eval "test x$CURSES_LIB_NAME = x" +-then +- AC_CHECK_LIB(termcap, tgetent, CURSES_LIB="-ltermcap" CURSES_LIB_NAME=termcap) +-fi ++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS";CURSES_LIB_NAME=ncurses]) + + if eval "test x$CURSES_LIB_NAME = x" + then |