Jens Rehsack wrote:
...
Why not just use the options.mk 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.