Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2012 16:46:56 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        =?UTF-8?B?THVjYXMgU2FsacOpcyBCcnVt?= <sistematico@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: lib name on LIB_DEPENDS
Message-ID:  <508D5370.6080404@gwdg.de>
In-Reply-To: <CADyvD9sM0Bu8qO8a07eg_7b%2BO9iJd32pMnWupex6xqVbf6Xdzw@mail.gmail.com>
References:  <CADyvD9sM0Bu8qO8a07eg_7b%2BO9iJd32pMnWupex6xqVbf6Xdzw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?508D5370.6080404>