<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi.<div class=""><br class=""></div><div class="">Можно попробовать описать опции сборки в /etc/make.conf создав отдельную секцию для конкретного пакета:</div><div class=""><br class=""></div><div class=""><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">.if ${.CURDIR} == ${PORTSDIR}/portsforsome/portname</div><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">WITH_YOUR_OPTIONS=<something></div><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">.endif</div></div><div class=""><br class=""></div><div class="">Как живой пример:</div><div class=""><br class=""></div><div class=""><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">.if ${.CURDIR} == ${PORTSDIR}/databases/mysql55-client</div><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">WITH_CHARSET=cp1251</div><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">WITH_COLLATION=cp1251_bin</div><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">BUILD_OPTIMIZED=yes</div><div style="line-height: 1.4em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0px; padding: 2px 4px;" class="">.endif</div></div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">__</div><div class="">With best regards,<br class="">Andrey Marshalenko.<br class=""><span style="orphans: auto; widows: auto;" class="">System & Network Administrator</span><br class="">AM1000-UANIC<br class="">mailto: <a href="mailto:marshall@marshall.kiev.ua" class="">marshall@marshall.kiev.ua</a><br class="">tel (mob) +380676574197<br class="">Skype: marshalenko</div><div class="">JabberID: <a href="mailto:marshall@marshall.kiev.ua" class="">marshall@marshall.kiev.ua</a></div></div></span></div></span></div></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">5 авг. 2017 г., в 21:50, Valentin Nechayev <<a href="mailto:netch@netch.kiev.ua" class="">netch@netch.kiev.ua</a>> написал(а):</div><br class="Apple-interchange-newline"><div class=""><div class=""> Sun, Aug 06, 2017 at 00:30:14, eugen wrote about "Re: [freebsd] need py3 packages...": <br class=""><br class=""><blockquote type="cite" class="">$ fgrep -A 6 user: /usr/ports/Mk/Uses/python.mk<br class=""># Variables, which can be set by a user:<br class="">#<br class=""># PYTHON_VERSION        - The chosen Python interpreter including the version,<br class="">#                         e.g. python2.7, python3.3, etc. This allows the user<br class="">#                         to override the currently chosen default version and<br class="">#                         to install the port for a specific Python version.<br class="">#                         It must not be set by a port.<br class=""><br class="">То есть, пишешь<span style="font-family: Verdana, Arial, Helvetica, sans-serif;" class="">.if ${.CURDIR} == ${PORTSDIR}/databases/mysql55-client</span></blockquote></div></div></blockquote><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class=""><span style="font-family: Verdana, Arial, Helvetica, sans-serif;" class="">.endif</span> в /etc/make.conf и получаешь py35-scipy-0.19.0_2<br class=""></blockquote><br class="">Ага, похоже, работает.<br class=""><br class="">Писать в make.conf это не совсем уместно (например, если мне нужны<br class="">впараллель py27-scipy и py35-scipy?), тут придётся дорабатывать как-то<br class="">ещё.<br class="">Но на вычитанное глазами проставление вручную работает, спасибо.<br class=""><br class="">Грепать по user как-то не было привычки - тоже надо записать в методы<br class="">поиска...<br class=""><br class=""><br class="">-netch-<br class="">_______________________________________________<br class="">freebsd mailing list<br class=""><a href="mailto:freebsd@uafug.org.ua" class="">freebsd@uafug.org.ua</a><br class="">http://mailman.uafug.org.ua/mailman/listinfo/freebsd<br class=""></div></div></blockquote></div><br class=""></div></body></html>