From owner-freebsd-ports@FreeBSD.ORG Sun Oct 28 15:46:59 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 7AB46869 for ; Sun, 28 Oct 2012 15:46:59 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 33AE98FC0A for ; Sun, 28 Oct 2012 15:46:58 +0000 (UTC) Received: from p5dc3ecfe.dip.t-dialin.net ([93.195.236.254] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TSV4i-0002XM-V2; Sun, 28 Oct 2012 16:46:57 +0100 Message-ID: <508D5370.6080404@gwdg.de> Date: Sun, 28 Oct 2012 16:46:56 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121012 Thunderbird/16.0.1 MIME-Version: 1.0 To: =?UTF-8?B?THVjYXMgU2FsacOpcyBCcnVt?= Subject: Re: lib name on LIB_DEPENDS References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: 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: Sun, 28 Oct 2012 15:46:59 -0000 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 Hope this helps, Rainer > Thanks in advance. > -- > Lucas Saliés Brum