Date: Tue, 3 Apr 2018 12:33:09 +0200 From: Gerhard Schmidt <estartu@ze.tum.de> To: Freebsd Ports <freebsd-ports@freebsd.org> Cc: koobs@FreeBSD.org Subject: Re: flavors and rc scripts Message-ID: <7ff4e80a-c917-7108-9ad1-3d67b8e04ea8@ze.tum.de> In-Reply-To: <c831f0a6-8005-f15a-397e-6d51a0bf0faa@FreeBSD.org> References: <b5cce474-45d6-aa2b-332a-7325e3a5ade2@ze.tum.de> <c831f0a6-8005-f15a-397e-6d51a0bf0faa@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7ff4e80a-c917-7108-9ad1-3d67b8e04ea8>