summaryrefslogtreecommitdiff
path: root/sys-process/unixtop/files/unixtop-3.8_beta1-ncurses.patch
blob: a2da4b47da6a8bac77a2506edbd6e59e3ed3d312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
* check ncurses first, such that we only link agains (system) termcap if
  necessary (never the case in prefix) -- grobian@gentoo.org

--- a/configure.ac
+++ b/configure.ac
@@ -174,7 +174,7 @@
 AC_CHECK_LIB(kvm, kvm_open)
 # -lmld -lmach
 AC_CHECK_LIB(mach, vm_statistics)
-AC_SEARCH_LIBS(tgetent, termcap curses ncurses)
+AC_SEARCH_LIBS(tgetent, ncurses curses termcap)
 AC_CHECK_LIB(m, exp)
 
 # check for libraries required by extension