diff -uNr speech_tools.orig/config/systems/GentooLinux.mak speech_tools/config/systems/GentooLinux.mak --- speech_tools.orig/config/systems/GentooLinux.mak 2013-08-06 22:35:28.000000000 -0400 +++ speech_tools/config/systems/GentooLinux.mak 2013-08-06 22:36:18.000000000 -0400 @@ -38,5 +38,6 @@ ########################################################################### MANDIR=$(INSTALL_PREFIX)/share/man +GENTOO_CURSES_LIBS=$(shell pkg-config --libs ncurses) # Gentoo does not use termcap -OS_LIBS = $(LDFLAGS) -ldl -lncurses +OS_LIBS = $(GENTOO_CURSES_LIBS) $(LDFLAGS) -ldl