From owner-freebsd-ports@FreeBSD.ORG Sat Nov 3 12:06:44 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B8EC91 for ; Sat, 3 Nov 2012 12:06:44 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward1h.mail.yandex.net (forward1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10]) by mx1.freebsd.org (Postfix) with ESMTP id 9C7248FC0A for ; Sat, 3 Nov 2012 12:06:43 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward1h.mail.yandex.net (Yandex) with ESMTP id 1CA7A9E0670 for ; Sat, 3 Nov 2012 16:06:41 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id D7ACF17000F9 for ; Sat, 3 Nov 2012 16:06:41 +0400 (MSK) Received: from 93.91.10.10.tel.ru (93.91.10.10.tel.ru [93.91.10.10]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 6fAupIAH-6fAKC97F; Sat, 3 Nov 2012 16:06:41 +0400 Message-ID: <509508D1.5060503@passap.ru> Date: Sat, 03 Nov 2012 16:06:41 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121012 Thunderbird/16.0.1 MIME-Version: 1.0 To: ports@freebsd.org Subject: LIB_DEPENDS and a library ABI version Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 12:06:44 -0000 Hi All, what's the right way to determine ABI version number (and specify it at a port)? For textproc/goldendict portlint suggests: ----- LIB_DEPENDS=hunspell-1:${PORTSDIR}/textproc/hunspell ----- The library itself is: ----- % ls -l /usr/local/lib/libhunspell-1.3.*so* lrwxr-xr-x 1 root wheel 20 28 авг 23:41 /usr/local/lib/libhunspell-1.3.so -> libhunspell-1.3.so.0 -rwxr-xr-x 1 root wheel 368752 28 авг 23:41 /usr/local/lib/libhunspell-1.3.so.0 ----- Should I use "LIB_DEPENDS=hunspell-1.3:..." (since only 0 is after .so? Some libraries seems to place .so suffix at a random position: ----- libspreadsheet-1.10.17.so liblua-5.1.so.1 libwx_base-2.8.so.0.8.0 ----- -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve