summaryrefslogtreecommitdiff
path: root/sys-process/unixtop/files/unixtop-3.8_beta1-ncurses.patch
blob: 73cd88b72826f9d5ea31139e1f10bb7b88cd52c6 (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

--- configure.ac
+++ 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