> The LIB_DEPENDS, is the very reason why the make print-package-signature
> doesn't match the pkg_info -S for ports, and why there is a rebuild
> problem, on a number of ports.
>
> See man library-specs(7)
>
> RUN_DEPENDS always creates a @depends line, LIB_DEPENDS doesn't.
>
> clisp is required for building, and running the port, it is not required
> for the libraries as using LIB_DEPENDS implies.
>
> make print-package-signature assumes LIB_DEPENDS will be turned into a
> @depends, that there is a matching WANTLIB library to be using the
> LIB_DEPENDS in the first place. pkg_create drops the @depends when no
> library can be found in the WANTLIB so pkg_info -S will have lost the
> dependency and not appear in the signature, and signatures do not match.
>
> Maybe make lib-depends-check should display warnings about any
> LIB_DEPENDS package paths that don't have any of their libraries
> appearing in the WANTLIB.
>
> What you suggest will change the signature mismatch from devel/ffcall
> to lang/clisp, there will be no run time @depends to install clisp in
> the package created. I haven't tried your change because I have already
> tried and tested the change above it solved the rebuild issue and
> correctly installed clisp at runtime.
>

You are absolutely right, it rebuilds unnecessarily with whta I
suggested (need to read manpages more). sorry for the noise.

thanks

Reply via email to