Stuart Henderson writes:
> Please put them in LIB_DEPENDS/WANTLIB with the annotation in the comment.
> What they're doing is not safe/reliable because it relies on the library
> ABI not changing. Adding as a LIB_DEPENDS ensures that yquake is updated
> when required due to any incompatible changes to the libraries.
This needs to be documented somewhere. bsd.port.mk(5) implies that
LIB_DEPENDS is not necessary for dlopen'd libraries:
LIB_DEPENDS <spec> not needed for <FULLPKGPATH> There doesn't seem to be
any WANTLIB to match the given LIB_DEPENDS. Thus, the LIB_DEPENDS won't
turn into a @depends line in the created package. This is often because
of confusion between LIB_DEPENDS and RUN_DEPENDS: RUN_DEPENDS is needed
for dlopen'd libraries.
No comments:
Post a Comment