On 07.08.2016 13:24, Kamil Rytarowski wrote: > Add support for specifying explicitly INC* and LIB* values > > This addresses use-case of pkgsrc and NetBSD. > With this pair we need to specify explicitly include and libraries > options in order to pass RPATH values. > > NetBSD and pkgsrc don't use ldconfig, so every executable needs to > pass in its configuration (bundled ELF parameters) RPATH. > > Example usage in a package in pkgsrc for X11: > CONFIGURE_ARGS+= --with-x11-incset="-I${X11BASE}/include" > CONFIGURE_ARGS+= > --with-x11-libset="${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib > -lXext -lX11" > > X11BASE can vary from configuration to configuration (X11 native > on the host's base or modular version within pkgsrc) so > autodetecting this sort of information isn't reliable. > > To address these needs, allow to specify explicity desired INC* and > LIB* values. > > With this patch applied we can mostly pass configure on NetBSD. > Other changes will be proposed afterwards. > > The default behavior is unchanged for current customers. > > This patch is MIT-licensed. > > Author: Kamil Rytarowski >
As a side note, I wanted to propose PYTHONLINKEXTRA later, there is a part of my patch attached to this code - for now please ignore this part and review/evaluate/apply without it.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev