[vbox-dev] NetBSD patch 0013: Add support for specifying explicitly INC* and LIB* values

Kamil Rytarowski n54 at gmx.com
Sun Aug 7 13:13:39 GMT 2016


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160807/aa65478e/attachment.sig>


More information about the vbox-dev mailing list