Bug 51121 - MAINTAINER-UPDATE: net/trafshow fix ncurses dependency
Summary: MAINTAINER-UPDATE: net/trafshow fix ncurses dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 07:20 UTC by Ryan Thompson
Modified: 2003-04-22 09:20 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (837 bytes, patch)
2003-04-18 07:20 UTC, Ryan Thompson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Thompson 2003-04-18 07:20:01 UTC
Submitted by Peter Pentchev <roam@ringlet.net>:

    During the configure stage, trafshow looks for a suitable ncurses
    library it can use.  The search is unconditionally performed in the
    order of -lslang, -lncurses, -I/usr/include/ncurses, -lcurses.
    Thus, if the devel/libslang port is installed, trafshow will detect
    and use the slang libraries, creating an undocumented library
    dependency.

    What do you think about the attached patch, which uses a method
    similar to that of the news/tin port to conditionally add
    devel/libslang as a lib dependency?
    
Also bump PORTREVISION, and be picky about the grammar in COMMENT.
Comment 1 Peter Pentchev freebsd_committer 2003-04-22 09:19:29 UTC
State Changed
From-To: open->closed

Update committed, thanks!