From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 26 21:26:54 2010 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79159106566C; Sun, 26 Dec 2010 21:26:54 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [77.88.46.6]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5EB8FC0C; Sun, 26 Dec 2010 21:26:53 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward1.mail.yandex.net (Yandex) with ESMTP id 954FA69E8D7C; Mon, 27 Dec 2010 00:26:46 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1293398806; bh=OiLaESeHLbkBEFd4oPa+JIUbLMCYK9pyZmecQQyLXNY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Ma8I4ID3x+iA9/9d0O0/RZK5h40do4DKmG9XzhDKCk4eb3xJzGcSbSomKQmDcx7MQ Mt1e/HhdRfq8EplGL0j96JdGQEnJ906y/xCMze/iNXPlAhGU95CcRCGK+tQEDqaTeG H5MQh+TYDFMFecdmfHBQLBpMiMpvPlqsiIFivbIk= Received: from smeshariki2.local (unknown [213.138.87.92]) by smtp3.mail.yandex.net (Yandex) with ESMTPSA id 4968F278094; Mon, 27 Dec 2010 00:26:46 +0300 (MSK) Message-ID: <4D17B2F0.8080504@yandex.ru> Date: Mon, 27 Dec 2010 00:26:08 +0300 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20101211 Thunderbird/3.1.7 MIME-Version: 1.0 To: pav@FreeBSD.org References: <201012081615.oB8GFord050219@freefall.freebsd.org> <4CFFD849.6040002@yandex.ru> <1291882012.1937.1.camel@hood.oook.cz> In-Reply-To: <1291882012.1937.1.camel@hood.oook.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ports-bugs@FreeBSD.org, llevier@argosnet.com Subject: Re: ports/152683: [PATCH] security/hydra: update to 5.9 [feature safe] X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2010 21:26:54 -0000 09.12.2010 11:06, Pav Lucistnik пишет: > Ruslan Mahmatkhanov píše v st 08. 12. 2010 v 22:11 +0300: > >> LIB_DEPENDS+=${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh > > That won't work, because LIB_DEPENDS expect ldconfig' checkable library > name and not a full path. But you can reuse your line with _both_ > BUILD_DEPENDS and RUN_DEPENDS. > Hello, Pav. Sorry about delay. I just read Porters Handbook and it seems that i have three options to deal with it: 1. LIB_DEPENDS+=libssh.so:${LOCALBASE}/lib:${PORTSDIR}/security/libssh 2. LIB_DEPENDS+=libssh.so.4:${PORTSDIR}/security/libssh 3. Define dependency on libssh in LIB/RUN/BUILD-DEPENDS. n.3 is not nice for me, so i tried to stick with 1 and 2, and both of them failed for me. 1. devel/libssh installs libssh.so into /usr/local/lib, but if i use this pattern then get this error: ===> hydra-5.9 depends on shared library: libssh.so - not found ===> Verifying /usr/ports/security/libssh for libssh.so in /usr/local/lib `/usr/ports/security/libssh' is up to date. ===> Returning to build of hydra-5.9 Error: shared library "libssh.so" does not exist But it is there: smeshariki2# ls -la /usr/local/lib/libssh.so lrwxr-xr-x 1 root wheel 11 27 дек 00:10 /usr/local/lib/libssh.so -> libssh.so.4 smeshariki2# ldconfig -r | grep libssh 102:-lssh.5 => /usr/lib/libssh.so.5 410:-lssh.4 => /usr/local/lib/libssh.so.4 839:-lssh2.1 => /usr/local/lib/libssh2.so.1 974:-lssh.4 => /usr/local/lib/compat/libssh.so.4 2. If i define libssh.so.4 or libssh.so.4.1.3 in LIB_DEPENDS then it's still: ===> hydra-5.9 depends on shared library: libssh.so.4 - not found ===> Verifying install for libssh.so.4 in /usr/ports/security/libssh But there is symlink libssh.so.4 and object file libssh.so.4.1.3 Please explain me, what i'm doing wrong. Thanks in advance. -- Regards, Ruslan