From owner-freebsd-ports@FreeBSD.ORG Mon Oct 29 07:53:54 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A15B7AB3 for ; Mon, 29 Oct 2012 07:53:54 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by mx1.freebsd.org (Postfix) with ESMTP id 138138FC08 for ; Mon, 29 Oct 2012 07:53:54 +0000 (UTC) Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward12.mail.yandex.net (Yandex) with ESMTP id 9E8E9C21C16; Mon, 29 Oct 2012 11:53:52 +0400 (MSK) Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id 6278BE40480; Mon, 29 Oct 2012 11:53:52 +0400 (MSK) Received: from unknown (unknown [178.76.224.133]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTP id rpk4Rll1-rqkSMQI6; Mon, 29 Oct 2012 11:53:52 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1351497232; bh=hB8KAL/YfYSZx9+uHHDxnazlGQFILv9TtH4mInSy+PI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=LQ2yLgAvN9ogTAY5KqxRo9Xo1taVkSvhnvNmQfM60OZc0jVUKM30uCznpLOuK/9Pr MUpOYmUTv8oGwHBCg3u731i332tNZ9bLXN8bLqNwocWFoutKc/3huFSqlGUsCWWdLz dRVCbJ6e/sR/9SzgZ0UDLz+NvefJ6QzRqBlrrdGw= Message-ID: <508E35E2.6050702@yandex.ru> Date: Mon, 29 Oct 2012 11:53:06 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121024 Thunderbird/16.0.1 MIME-Version: 1.0 To: Rainer Hurling Subject: Re: lib name on LIB_DEPENDS References: <508D5370.6080404@gwdg.de> In-Reply-To: <508D5370.6080404@gwdg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: =?ISO-8859-1?Q?Lucas_Sali=E9s_Brum?= , freebsd-ports@freebsd.org 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: Mon, 29 Oct 2012 07:53:54 -0000 Rainer Hurling wrote on 28.10.2012 19:46: > On 28.10.2012 16:12 (UTC+2), Lucas Saliés Brum wrote: >> Hello all! >> This is my first e-mail that list. >> >> I'm having problems with a new port that I'm trying to create. >> http://paste.sistematico.org/14 >> >> # make install >> ... >> ===> Registering installation for py27-feedparser-5.1.2 >> ===> Returning to build of cgmail-0.6.2 >> Error: shared library "feedparser" does not exist >> *** [lib-depends] Error code 1 >> >> Stop in /usr/home/lucas/apps/ports/cgmail. >> >> What name should I use LIB_DEPENDS= >> [HERE]:${PORTSDIR}/textproc/py-feedparser ? > > textproc/py-feedparser does not install any library, so you need to test > the presence of the python script, installed by this port: > > /usr/local/lib/python2.7/site-packages/feedparser.py > > To be path and version independent you should use something like > > ${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser Please note that using ${PYTHON_PKGNAMEPREFIX}feedparser>0:${PORTSDIR}/textproc/py-feedparser is preferable. -- Regards, Ruslan Tinderboxing kills... the drives.