1) Remove lang/gnat-aux dependency 2) USE_LANGUAGES+= ada (invokes lang/gcc-aux dependency) 3) Restore use of pkgsrc wrappers 4) Utilize custom capability of devel/gprbuild-aux Library_Options ("-R" and "-Wl,-R" to redefine rpaths of shared libraries to remove references to the work directory. This error was highlighted by new updates to the PKG_DEVELOPER=yes checks. 5) Fix for Ada 2012 binding interpretation that prevented build on lang/gcc-aux. (AI05-0115, aggregates with invisible components) 6) GPRBuild-based packages require USE_LANGUAGES+= c++ fortran in addition to "c" and "ada" because GPRBUILD probes for these languages. If they aren't on the language list, pkgsrc comes back with a warning message that causes gprbuild to throw an unhandled exception due to a regex failure. www/aws doesn't contain c++ or fortran despite the value of USE_LANGUAGES.
13 lines
453 B
Text
13 lines
453 B
Text
$NetBSD: patch-src_src.gpr,v 1.1 2012/07/08 20:14:28 marino Exp $
|
|
|
|
--- src/src.gpr.orig 2011-01-25 20:52:57.000000000 +0000
|
|
+++ src/src.gpr
|
|
@@ -77,7 +77,7 @@ project Src is
|
|
when "Windows_NT" =>
|
|
for Library_Options use ("-lwsock32", "-lws2_32");
|
|
when others =>
|
|
- null;
|
|
+ for Library_Options use ("-R", "-Wl,-R,@ADDITIONAL_RPATH@");
|
|
end case;
|
|
|
|
case Shared.LDAP is
|