pkgsrc-Users archive

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

Re: How to add optional dependencies?

Jens Rehsack wrote:
>> Why not just use the framework for this ?
> If I understand you correctly, you mean adding a file like the attached
> one (for devel/p5-Module-Build - unfinished one).
> I would prefer some auto-detection, if possible ...

Once you specify 'PKG_OPTIONS.p5-Module-Build= Module-Signature' you're
effectively getting that.  IMHO in pkgsrc the tendency is to steer away
from  'automagic' dependencies and get users to specify which optional
components of packages they would like activated.  Otherwise, if you're
not careful, you end up introducing hidden dependencies.


Home | Main Index | Thread Index | Old Index