From owner-freebsd-ports@FreeBSD.ORG Tue May 29 21:27:27 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C32C106566C for ; Tue, 29 May 2012 21:27:27 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1E58FC12 for ; Tue, 29 May 2012 21:27:26 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward11.mail.yandex.net (Yandex) with ESMTP id 54E77E80FCB; Wed, 30 May 2012 01:27:24 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1338326844; bh=oDKmKR8IUN2pdTfkgIMqcdG6IHfS/cM2qysGmYPOyCs=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SGHfKnch7qVcwd8O9W5Za4qwqLuuYmGLo7L0UFoNzluwDftW6USyLDq5nnI2HxopS iHziYUqlsH08Tc4xQAcfCECZTnZ8q3ckA6tGKw5M0DuGM31hWHEIOkFCupdbXXK+mh s3zguZ5yX5dETGN8SbhoJzgMp5aIRiPipzbiHGpQ= Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 367F2E40556; Wed, 30 May 2012 01:27:24 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id RN48T2XP-RN48BLBa; Wed, 30 May 2012 01:27:23 +0400 X-Yandex-Rcpt-Suid: mezz.freebsd@gmail.com X-Yandex-Rcpt-Suid: ports@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1338326844; bh=oDKmKR8IUN2pdTfkgIMqcdG6IHfS/cM2qysGmYPOyCs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Rdd+ByUcD9bHKw+kwF5dxSw7W3KvskkpnjzseDK1UQuj6m+nwIGq5Uh2gLVt1BElU L2uKcGcFdf1vbYH0PgK76sw4MjHvz0/Ys6H9pXZPnD47LfFk1ydfAnel50thlym9Sa llmcF9B3XY4RLziG63dL+vmF1QF6IhvTWYmMaFCY= Message-ID: <4FC53F1D.2050402@yandex.ru> Date: Wed, 30 May 2012 01:26:53 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120504 Thunderbird/12.0.1 MIME-Version: 1.0 To: Jeremy Messenger References: <4FC51DAA.3090800@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Mailing List Subject: Re: Need to depend on right libssh.so.4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2012 21:27:27 -0000 Jeremy Messenger wrote on 29.05.2012 23:42: >> >> And this is not the same lib, that is installed by security/libssh. There >> also no header files that is needed for hydra build. How to distinguish >> among the libraries and install one from security/libssh if it is missed. I >> can check for file presence at %%LOCALBASE%%/lib/libssh.so.4 and I can >> [somehow] to exclude /usr/local/lib/compat/ from library find path while >> building this port. Which way is less hackish and how to do that properly? > > Yes, use the BUILD/RUN_DEPENDS to find the > %%LOCALBASE%%/lib/libssh.so.4 instead of use LIB_DEPENDS. > > Cheers, > Mezz I did just that. Thanks, Jeremy. -- Regards, Ruslan Tinderboxing kills... the drives.