If gnuplot is built with devel/readline installed, it's picked as a hidden library dependency, and if readline is removed afterwards, gnuplot would break. % pkg info | grep readline readline-6.3.8 Library for editing command lines as they are typed % ldd /usr/local/bin/gnuplot | grep readline libreadline.so.6 => /usr/local/lib/libreadline.so.6 (0x800951000) % pkg delete readline % ldd /usr/local/bin/gnuplot | grep readline libreadline.so.6 => not found (0) % portmaster gnuplot % ldd /usr/local/bin/gnuplot | grep readline libreadline.so.8 => /lib/libreadline.so.8 (0x800951000)
Maintainers CC'd
Adding USES=readline should fix this.
A commit references this bug: Author: glewis Date: Fri Jul 3 18:04:22 UTC 2015 New revision: 391265 URL: https://svnweb.freebsd.org/changeset/ports/391265 Log: . Add USES=readline for the readline dependency. PR: 197995 Submitted by: johans@ Changes: head/math/gnuplot/Makefile