From nobody@FreeBSD.org  Mon Jul 22 12:28:05 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 8CAC8550
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Jul 2013 12:28:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 7DC542AF7
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Jul 2013 12:28:05 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6MCS4OD060162
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 22 Jul 2013 12:28:04 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6MCS4rY060161;
	Mon, 22 Jul 2013 12:28:04 GMT
	(envelope-from nobody)
Message-Id: <201307221228.r6MCS4rY060161@oldred.freebsd.org>
Date: Mon, 22 Jul 2013 12:28:04 GMT
From: Oleg Ginzburg <olevole@olevole.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: misc/mc 4.8.x  needs libssh2 as a dependency  
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180737
>Category:       ports
>Synopsis:       misc/mc 4.8.x  needs libssh2 as a dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    fjoe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 22 12:30:00 UTC 2013
>Closed-Date:    Sun Jul 28 07:57:09 UTC 2013
>Last-Modified:  Sun Jul 28 08:00:00 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->fjoe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jul 22 12:30:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180737 
State-Changed-From-To: open->closed 
State-Changed-By: fjoe 
State-Changed-When: Sun Jul 28 07:56:55 UTC 2013 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180737 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/180737: commit references a PR
Date: Sun, 28 Jul 2013 07:56:54 +0000 (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"
 
>Unformatted:
