STAGE support and PYTHON_SITELIBDIR at pkg-plist

Boris Samorodov bsam at passap.ru
Tue Sep 24 15:52:07 UTC 2013


24.09.2013 19:27, Baptiste Daroussin пишет:
> On Tue, Sep 24, 2013 at 05:33:41PM +0400, Boris Samorodov wrote:
>> Hi Baptiste and All,
>>
>> I try to convert comms/gammu to using STAGE and while "make makeplist"
>> get those changes:
>> -----
>> +lib/python2.7/site-packages/gammu/Data.py
>> ...
>> -%%PYTHON_SITELIBDIR%%/gammu/Data.py
>> -----
> 
> This will bring issue when ${PYTHON_SITELIBDIR} is empty.

AFAIK empty expression will not match anything. I.e. -e 's::REPLACE:'
will never match. Or is there an other problem which I didn't catch?

> I'm trying to make something that will automatically reverse PLIST_SUB.
> 
> I already did it for poudriere and it works well, I don't know why it is not
> that easy here, but I will manage to get it in :)

Thanks!

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list