Home brewed patch. Use Solaris specific location of terminfo. --- screen-4.5.0/Makefile.in.~1~ 2017-01-18 17:41:59.306726357 +0300 +++ screen-4.5.0/Makefile.in 2017-01-18 17:43:37.121900994 +0300 @@ -96,9 +96,10 @@ ############################################################################### install: installdirs install_bin cd doc ; $(MAKE) install - -if [ -d $(DESTDIR)/usr/lib/terminfo ]; then \ + -if [ -d $(DESTDIR)/usr/share/lib/terminfo ]; then \ + TERMINFO=$(DESTDIR)/usr/share/lib/terminfo \ PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \ - chmod 644 $(DESTDIR)/usr/lib/terminfo/s/screen*; \ + chmod 644 $(DESTDIR)/usr/share/lib/terminfo/s/screen*; \ fi # Better do this by hand. E.g. under RCS... # cat ${srcdir}/terminfo/screencap >> /etc/termcap