lib name on LIB_DEPENDS

Ruslan Mahmatkhanov cvs-src at yandex.ru
Tue Oct 30 13:42:38 UTC 2012


Lucas Saliés Brum wrote on 30.10.2012 17:36:
> Em 30/10/2012 10:25, Lucas Saliés Brum escreveu:
>> Em 28/10/2012 15:31, Chris Rees escreveu:
>>> On 28 October 2012 17:53, Lucas Saliés Brum <sistematico at gmail.com> wrote:
>>>> Em 28/10/2012 12:46, Rainer Hurling escreveu:
>>>>> 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 for your response Rainer!!
>>>>
>>>> http://paste.sistematico.org/16
>>>>
>>>> Any hint?
>>>>
>>> Yes, you installed py-feedparser with a different PREFIX somehow :)
>>>
>>> Use pkg_delete -fx py27-feedparser
>>>
>>> Once you've done that, you should be able to make your test port
>>> without problems.
>>>
>>> Chris
>> http://paste.sistematico.org/19
>> How to fix this?
>>
>> Thank you all.
>
> Sorry, i missed the Makefile: http://paste.sistematico.org/20
> My pkg-plist is blank, anything related? I need to create?

change

LIB_DEPENDS= 
${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser

with:

RUN_DEPENDS= 
${PYTHON_PKGNAMEPREFIX}feedparser>0:${PORTSDIR}/textproc/py-feedparser

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-ports mailing list