ports/180737: misc/mc 4.8.x needs libssh2 as a dependency

Oleg Ginzburg olevole at olevole.ru
Mon Jul 22 12:30:00 UTC 2013


>Number:         180737
>Category:       ports
>Synopsis:       misc/mc 4.8.x  needs libssh2 as a dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 22 12:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        
>Organization:
>Environment:
>Description:
https://www.midnight-commander.org/wiki/doc/buildAndInstall/req

>How-To-Repeat:
After pkg install mc from repository with automatic build:

# mc
Shared object "libssh2.so.1" not found, required by "mc"

>Fix:


Patch attached with submission follows:

diff -ruN mc.bak/Makefile mc/Makefile
--- mc.bak/Makefile	2013-07-12 15:44:51.000000000 +0400
+++ mc/Makefile	2013-07-22 16:22:28.000000000 +0400
@@ -3,7 +3,7 @@
 
 PORTNAME=	mc
 PORTVERSION=	4.8.8
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	misc shells
 MASTER_SITES=	http://ftp.osuosl.org/pub/midnightcommander/
 
@@ -12,6 +12,8 @@
 
 LICENSE=	GPLv3
 
+LIB_DEPENDS=	ssh2:${PORTSDIR}/security/libssh2
+
 CONFLICTS=	mc-light-4*
 
 USES=		pkgconfig


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list