1) Replace custom tarball with Adacore's GPL 2012 release 2) Update license to GPLv3 3) Remove lang/gnat-aux dependency 4) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency) 5) Update buildlink3.mk to require GPL 2012 version 6) Restore use of pkgsrc wrappers 7) Add Library_Option "-R" support which ignores all automatically generated rpaths* which point to the WRKOBJDIR. DESTDIR isn't supported by GPRBuild, so this rpath disabling is necessary to avoid references to work directories. * gcc and adalib rpaths are excluded with -R option. 8) This Library_Option "-R" matches the same modification added to lang/gcc-aux and lang/gnat-aux's project handler. 9) This modification is required to fix www/aws rpath issues which appears with recent changes to PKG_DEVELOPER=yes checks.
25 lines
1.2 KiB
XML
25 lines
1.2 KiB
XML
$NetBSD: patch-share_gprconfig_compilers.xml,v 1.1 2012/07/08 20:08:42 marino Exp $
|
|
|
|
--- share/gprconfig/compilers.xml.orig 2012-03-28 13:32:23.000000000 +0000
|
|
+++ share/gprconfig/compilers.xml
|
|
@@ -418,16 +418,15 @@
|
|
</version>
|
|
<languages>Ada</languages>
|
|
<variable name="gcc_version">
|
|
- <external>${PREFIX}gcc -v</external>
|
|
+ <external>${PREFIX}ada -v</external>
|
|
<grep regexp="^gcc \S+ (\S+)" group="1"></grep>
|
|
</variable>
|
|
<runtimes default="default,kernel,native">
|
|
- <directory group="default" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/adalib/</directory>
|
|
- <directory group="default" contents="^rts-">\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/ada_object_path</directory>
|
|
- <directory group="2" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/rts-(.*)/adalib/</directory>
|
|
+ <directory group="default">\.\./lib/gcc/$TARGET/$gcc_version/adalib</directory>
|
|
+ <directory group="0">@AUXPREFIX@/lib/gcc/$TARGET/$gcc_version/adalib</directory>
|
|
</runtimes>
|
|
<target>
|
|
- <external>${PREFIX}gcc -dumpmachine</external>
|
|
+ <external>${PREFIX}ada -dumpmachine</external>
|
|
<grep regexp="[^\r\n]+"></grep>
|
|
</target>
|
|
</compiler_description>
|