pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Non-standard options of package dependencies



On 2020-07-13 16:36, Jonathan Perkin wrote:
* On 2020-07-13 at 15:30 BST, Hauke Fath wrote:

is there a way a package can force a package it depends on to be built with
a non-standard option, or does this strictly require manual intervention?

No.

Thought so, but I figured I'd check.

I am working on upgrading www/php-glpi. v9.5 uses
MYSQLI_OPT_INT_AND_FLOAT_NATIVE, which databases/php-mysqli will only
provide when built with the mysqlnd option.

You'll need to check php-mysqli's configured options from php-glpi
(see prior art for if ${PKG_BUILD_OPTIONS.foo:Mbar}), and probably set
BROKEN if the option wasn't enabled.

's not pretty, but better than nothing, if I cannot get a workaround from upstream. Thanks!

Cheerio,
Hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index