tech-pkg archive

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

Re: Getting the version of an installed dependency?



On Sun, Aug 11, 2024 at 10:49:56AM +1000, Paul Ripke wrote:
> I'm cleaning up a bunch of packages to commit, and have run into
> something I don't have a clean solution for:
> 
> wip/nlopt optionally installs file paths containing the version string
> from the installed math/octave... currently I'm storing OCTAVE_VERSION
> in nlopt's options.mk, but this is rather fragile. Is there a common
> solution? Export OCTAVE_VERSION from octave's buildlink3.mk?

Probably best to set OCTAVE_VERSION in math/octave/version.mk and use
that in both math/octave/Makefile and wip/nlopt/Makefile, or?
 Thomas


Home | Main Index | Thread Index | Old Index