[freebsd] need py3 packages...
Andrey Marshalenko
marshall at marshall.kiev.ua
Sat Aug 5 22:30:09 EEST 2017
Hi.
Можно попробовать описать опции сборки в /etc/make.conf создав отдельную секцию для конкретного пакета:
.if ${.CURDIR} == ${PORTSDIR}/portsforsome/portname
WITH_YOUR_OPTIONS=<something>
.endif
Как живой пример:
.if ${.CURDIR} == ${PORTSDIR}/databases/mysql55-client
WITH_CHARSET=cp1251
WITH_COLLATION=cp1251_bin
BUILD_OPTIMIZED=yes
.endif
__
With best regards,
Andrey Marshalenko.
System & Network Administrator
AM1000-UANIC
mailto: marshall at marshall.kiev.ua
tel (mob) +380676574197
Skype: marshalenko
JabberID: marshall at marshall.kiev.ua
> 5 авг. 2017 г., в 21:50, Valentin Nechayev <netch at netch.kiev.ua> написал(а):
>
> Sun, Aug 06, 2017 at 00:30:14, eugen wrote about "Re: [freebsd] need py3 packages...":
>
>> $ fgrep -A 6 user: /usr/ports/Mk/Uses/python.mk
>> # Variables, which can be set by a user:
>> #
>> # PYTHON_VERSION - The chosen Python interpreter including the version,
>> # e.g. python2.7, python3.3, etc. This allows the user
>> # to override the currently chosen default version and
>> # to install the port for a specific Python version.
>> # It must not be set by a port.
>>
>> То есть, пишешь.if ${.CURDIR} == ${PORTSDIR}/databases/mysql55-client
>> .endif в /etc/make.conf и получаешь py35-scipy-0.19.0_2
>
> Ага, похоже, работает.
>
> Писать в make.conf это не совсем уместно (например, если мне нужны
> впараллель py27-scipy и py35-scipy?), тут придётся дорабатывать как-то
> ещё.
> Но на вычитанное глазами проставление вручную работает, спасибо.
>
> Грепать по user как-то не было привычки - тоже надо записать в методы
> поиска...
>
>
> -netch-
> _______________________________________________
> freebsd mailing list
> freebsd at uafug.org.ua
> http://mailman.uafug.org.ua/mailman/listinfo/freebsd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uafug.org.ua/pipermail/freebsd/attachments/20170805/e312771d/attachment.html>
More information about the freebsd
mailing list