pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gnat-aux



Module Name:    pkgsrc
Committed By:   marino
Date:           Sat Dec  3 07:28:18 UTC 2011

Modified Files:
        pkgsrc/lang/gnat-aux: Makefile buildlink3.mk distinfo
Added Files:
        pkgsrc/lang/gnat-aux/patches: patch-ad

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/gnat-aux/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/lang/gnat-aux/buildlink3.mk
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/gnat-aux/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/gnat-aux/patches/patch-ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index