Bug 180737

Summary: misc/mc 4.8.x needs libssh2 as a dependency
Product: Ports & Packages Reporter: Oleg Ginzburg <olevole>
Component: Individual Port(s)Assignee: Max Khon <fjoe>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Oleg Ginzburg 2013-07-22 13:30:00 UTC
https://www.midnight-commander.org/wiki/doc/buildAndInstall/req

Fix: Patch attached with submission follows:
How-To-Repeat: After pkg install mc from repository with automatic build:

# mc
Shared object "libssh2.so.1" not found, required by "mc"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-22 13:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->fjoe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-07-28 08:56:54 UTC
Author: fjoe
Date: Sun Jul 28 07:56:47 2013
New Revision: 323813
URL: http://svnweb.freebsd.org/changeset/ports/323813

Log:
  Add missing dependency on libssh2.
  
  PR:		180737
  Submitted by:	Oleg Ginzburg <olevole@olevole.ru>

Modified:
  head/misc/mc/Makefile

Modified: head/misc/mc/Makefile
==============================================================================
--- head/misc/mc/Makefile	Sun Jul 28 07:44:17 2013	(r323812)
+++ head/misc/mc/Makefile	Sun Jul 28 07:56:47 2013	(r323813)
@@ -12,6 +12,8 @@ COMMENT=	Midnight Commander, a free Nort
 
 LICENSE=	GPLv3
 
+LIB_DEPENDS=	ssh2:${PORTSDIR}/security/libssh2
+
 CONFLICTS=	mc-light-4*
 
 USES=		pkgconfig
@@ -75,7 +77,7 @@ PLIST_SUB+=	EDITOR=""
 .if ! ${PORT_OPTIONS:MSLANG} && !defined(MINIMAL)
 CONFIGURE_ARGS+=--with-screen=ncurses
 .else
-LIB_DEPENDS+=	slang.2:${PORTSDIR}/devel/libslang2
+LIB_DEPENDS+=	slang:${PORTSDIR}/devel/libslang2
 CONFIGURE_ARGS+=--with-screen=slang --with-slang-includes=${LOCALBASE}/include
 .endif
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Max Khon freebsd_committer freebsd_triage 2013-07-28 08:56:55 UTC
State Changed
From-To: open->closed

Committed, thanks!