Bug 197995 - math/gnuplot: hidden dependency on devel/readline
Summary: math/gnuplot: hidden dependency on devel/readline
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-24 17:04 UTC by Dmitry Marakasov
Modified: 2015-07-03 18:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-02-24 17:04:20 UTC
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)
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-24 17:04:20 UTC
Maintainers CC'd
Comment 2 Johan van Selst freebsd_committer freebsd_triage 2015-07-01 20:38:28 UTC
Adding USES=readline should fix this.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-07-03 18:05:07 UTC
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