flavors and rc scripts

Gerhard Schmidt estartu at ze.tum.de
Tue Apr 3 10:33:13 UTC 2018


Am 03.04.2018 um 11:02 schrieb Kubilay Kocak:
> On 3/04/2018 5:26 pm, Gerhard Schmidt wrote:
>> Hi,
>>
>> I'm trying to build a python package that uses flavors to allow parallel
>> installation for different python versions.
>>
>> So far building an installing works fine till the start script comes in
>> the picture.
>>
>> The port should install a start script for each of the flavors
>> installed, but USE_RC_SUBR installs the rc.script under the name given
>> and don't add the prefix or suffix. When i use
>> USE_RC_SUBR=${PYTHON_PKGNAMEPREFIX}scriptname i have to add a start
>> script for every flavor.
>>
>> Is there a way to gent USE_RC_SUBR to add the prefix or suffix.
>>
> 
> Hi Gerhard,
> 
> Good question.
> 
> USES=uniquefiles (or the same thing via USE_PYTHON=concurrent) *may* be
> able to help you here, though I haven't seen it attempted (yet) for rc
> scripts specifically.

Concurrent is active but does nothing for the rc script. I've done it by
hand, by adding the file su SUB_FILES and add the suffix when installing
the rc file. Working so far but seams to be less desirable.

Regards
   Estartu




More information about the freebsd-ports mailing list