Bug 219260 - sysutils/screen: use and link with ncurses from the port if installed
Summary: sysutils/screen: use and link with ncurses from the port if installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-13 18:45 UTC by Akinori MUSHA
Modified: 2017-05-14 04:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (cy)


Attachments
Patch for sysutils/screen (2.94 KB, text/plain)
2017-05-13 18:45 UTC, Akinori MUSHA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Akinori MUSHA freebsd_committer freebsd_triage 2017-05-13 18:45:59 UTC
Created attachment 182572 [details]
Patch for sysutils/screen

The sysutils/screen port declares it uses ncurses, but it actually doesn't use devel/ncurses when it is installed.

The configure script of screen always picks termlib which is linked with ncurses in the base.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-05-14 04:39:45 UTC
A commit references this bug:

Author: cy
Date: Sun May 14 04:39:16 UTC 2017
New revision: 440861
URL: https://svnweb.freebsd.org/changeset/ports/440861

Log:
  Properly detect devel/ncurses if installed and use it. Previously if
  devel/ncurses was installed, even though the dependency was registered,
  base ncurses would still be linked.

  PR:		219260
  Submitted by:	knu@

Changes:
  head/sysutils/screen/Makefile
  head/sysutils/screen/files/patch-configure
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2017-05-14 04:45:59 UTC
Committed. Thanks for the patch.