Commit graph

2 commits

Author SHA1 Message Date
marino
b75a4ca28c lang/gnat-aux: Modify rpath handling for shared project libraries
The GNAT compiler project builder essentially doesn't support DESTDIR
out of the box.  By default, it sets rpath of shared libraries to the
directory to which they are installed.  One may add additional rpaths
through switches, but not remove these default ones.  Also added to
the default rpath are the paths to the ada library and the standard
localbase library.

This modification to the compiler will force the project builder to
recognize the -R switch (gnatlink uses this to disable rpaths), and
it reacts by not putting the library install path into rpath.  The
adalib and ${LOCALBASE}/lib paths will still make up the base rpath
definition of the built shared libraries.

This change was prompted by the rpath troubles of the XML/Ada package.
2011-12-03 07:28:18 +00:00
drochner
c627fe4473 add gnat-aux-20110125, an Ada compiler gased on a gcc-4.6 snapshot, from
John Marino, originally per PR pkg/44436, slightly updated

for i386/amd64, comes with a bootstrap which doesn't need an Ada compiler
on the pkg build system (fetches a bootstrap binary from MASTER_SITE)

There seems to be some incompatibility with the binutils/libgcc_s
on NetBSD-current, leading to warnings. Not fatal, but should be
investigated.
2011-02-01 20:32:56 +00:00