On Thu, 2012-09-06 at 13:14 +0200, O. Hartmann wrote: > I tried to add > > RUN_DEPENDS= > ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops > > to my provided Makefile, but this doesn't install the port > devel/libatomic_ops. > This is weird and inconsistent. I follow exact the steps suggested in > the Porter's handbook, the _DEPENDS= section. The above RUN_DEPENDS= > tag > should ensure a check for the existence of the static library > > /usr/local/lib/libatomic_ops.a > > and if not existent, then install it. It doesn't work. Unfortunately, > LIB_DEPENDS is considered for "shared libraries", so it isn't > suitable. > But LIB_DEPENDS get recognized, even if it fails, while RUN_DEPENDS > seems not to be touched by the build process anyway ... I am SO not a ports expert, but I think maybe for a static lib you need BUILD_DEPENDS because it has to be available at build-time rather than run-time. -- IanReceived on Thu Sep 06 2012 - 11:35:13 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:30 UTC