Ravenports generated: 02 Dec 2019 21:21
[ravenports.git] / bucket_D7 / gprbuild
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               gprbuild
4 VERSION=                2019
5 REVISION=               1
6 KEYWORDS=               devel ada
7 VARIANTS=               standard
8 SDESC[standard]=        Adacore multi-language software build tool
9 HOMEPAGE=               http://docs.adacore.com/live/wave/gprbuild/html/gprbuild_ug/gprbuild_ug.html
10 CONTACT=                John_Marino[draco@marino.st]
11
12 DOWNLOAD_GROUPS=        main adacore
13 SITES[main]=            http://downloads.dragonlace.net/src/
14 SITES[adacore]=         GITHUB/AdaCore:gprbuild:2841033
15 DISTFILE[1]=            generated:adacore
16 DISTFILE[2]=            xmlada-2019-20190429-19B9D-src.tar.gz:main
17 DF_INDEX=               1 2
18 SPKGS[standard]=        complete
19                         primary
20                         gprlib
21                         examples
22
23 OPTIONS_AVAILABLE=      none
24 OPTIONS_STANDARD=       none
25
26 BUILD_DEPENDS=          xmlada:primary:standard
27 EXRUN[gprlib]=          xmlada:primary:standard
28
29 USES=                   gmake
30
31 DISTNAME=               gprbuild-2841033
32
33 LICENSE=                GPLv3+:primary
34 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
35 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING3
36 LICENSE_AWK=            TERMS:"^$$"
37 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/src/gprbuild.ads
38 LICENSE_SCHEME=         solo
39
40 BUILD_TARGET=           all libgpr.build
41 MAKE_ARGS=              prefix={{STAGEDIR}}{{PREFIX}}
42                         ENABLE_SHARED=yes
43                         BUILD=production
44                         PROCESSORS={{MAKE_JOBS_NUMBER}}
45                         TARGET={{CONFIGURE_TARGET}}
46
47 INSTALL_TARGET=         install libgpr.install
48 INSTALL_REQ_TOOLCHAIN=  yes
49
50 post-patch:
51         ${SED} -i"" \
52                 -e "s|@LOCALBASE@|${LOCALBASE}|" \
53                 -e "s|@GCCX@|gcc9|" \
54                 ${WRKSRC}/share/gprconfig/compilers.xml
55         # the relocatable library fails to build, limit to static(-pic)
56         ${REINPLACE_CMD} \
57                 -e '/^LIB_INSTALLER=/ s|$$| --project-subdir=lib/gnat|' \
58                 ${WRKSRC}/Makefile
59         ${RM} ${WRKSRC}/share/gprconfig/*.orig
60         ${REINPLACE_CMD} -e 's|"-gnatwe", ||' ${WRKSRC}/gprbuild.gpr
61         ${FIND} ${WRKSRC}/examples -name '.cvsignore' -delete
62         # fix bashism on /bin/sh
63         ${REINPLACE_CMD} -e 's|==|=|g' ${WRKSRC}/bootstrap.sh
64
65 post-patch-dragonfly:
66         # dragonfly has different install program than freebsd, linux (!)
67         ${REINPLACE_CMD} -e 's| -t||' ${WRKSRC}/bootstrap.sh
68
69 post-install:
70         ${RM} ${STAGEDIR}${PREFIX}/doinstall
71         ${RM} -r ${STAGEDIR}${STD_DOCDIR}/html/_sources
72         ${RM} -r ${STAGEDIR}${PREFIX}/lib/gnat/manifests
73         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
74         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/gprbuild/*
75         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gpr/relocatable/gpr/libgpr.so
76
77 do-configure:
78         # create bootstrap version of gprbuild
79         ${MKDIR} ${WRKDIR}/bootstrap_construction
80         (cd ${WRKDIR}/bootstrap_construction && ${WRKSRC}/bootstrap.sh \
81           --with-xmlada=${WRKDIR}/xmlada-2019-20190429-19B9D-src \
82           --srcdir=${WRKSRC} \
83           --prefix=${WRKDIR}/bootstrap)
84         # establish setup variables
85         (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} setup)
86
87 [FILE:532:descriptions/desc.primary]
88 GPRbuild is an advanced software tool designed to help automate the
89 construction of multi-language systems.  It removes the complexity from
90 multi-language development by allowing developers to quickly and easily
91 compile and link software written in a combination of languages including
92 Ada, Assembler, C, C++, and Fortran.  Easily extendable by users to cover
93 new toolchains and languages it is primarily aimed at projects of all
94 sizes organized into subsystems and libraries and is particularly well
95 suited for compiled languages.
96
97
98 [FILE:190:descriptions/desc.gprlib]
99 GPRbuild is an advanced software tool designed to help automate the
100 construction of multi-language systems.
101
102 This package contains a standalone library to accomplish the same
103 functionality.
104
105
106 [FILE:226:distinfo]
107 f2678989e47f2057224b495fceb3d5e706961bfbe03295c19b52efc9f00ee054       957203 AdaCore-gprbuild-2841033.tar.gz
108 4fdd0a37e2385048ec2391ad41e96d58a7c3417817fb6974866b3b9da3ff1538      1582603 xmlada-2019-20190429-19B9D-src.tar.gz
109
110
111 [FILE:1189:manifests/plist.primary]
112 bin/
113  gprbuild
114  gprclean
115  gprconfig
116  gprinstall
117  gprls
118  gprname
119  gprslave
120 libexec/gprbuild/
121  gprbind
122  gprlib
123 share/gpr/_default.gpr
124 share/gprconfig/
125  0_default.xml
126  aarch64-vx7.xml
127  aarch64-vx7r2.xml
128  arm-vx6.xml
129  arm-vx7.xml
130  arm-vx7r2.xml
131  asm.xml
132  baselined.xml
133  c.xml
134  clean.xml
135  compilers-arm-vx7.xml
136  compilers-baselined.xml
137  compilers-e500v2-vx6.xml
138  compilers-e500v2-vx653.xml
139  compilers-e500v2-vx7.xml
140  compilers-e500v2-vx7r2.xml
141  compilers-ppc-vx653.xml
142  compilers-ppc-vx7.xml
143  compilers-ppc-vx7r2.xml
144  compilers-ppc64-vx7.xml
145  compilers-ppc64-vx7r2.xml
146  compilers-vxworks.xml
147  compilers-x86-vx7.xml
148  compilers-x86_64-vx7.xml
149  compilers.xml
150  cpp.xml
151  cross.xml
152  e500v2-vx6.xml
153  e500v2-vx653.xml
154  e500v2-vx7.xml
155  e500v2-vx7r2.xml
156  env.ent
157  fallback_targets.xml
158  fortran.xml
159  gnat.xml
160  gnat_runtime.mapping
161  gprconfig.xsd
162  linker.xml
163  nocompiler.xml
164  ppc-vx6.xml
165  ppc-vx653.xml
166  ppc-vx7.xml
167  ppc-vx7r2.xml
168  ppc64-vx7.xml
169  ppc64-vx7r2.xml
170  shortcuts.ent
171  targetset.xml
172  tricore-compilers.xml
173  tricore-configuration.xml
174  tricore-target.xml
175  vx6.ent
176  vx653.ent
177  vx7.ent
178  vxworks.ent
179  vxworks.xml
180  windres.xml
181  x86-vx6.xml
182  x86-vx7.xml
183  x86-vx7r2.xml
184  x86_64-vx7.xml
185  x86_64-vx7r2.xml
186
187
188 [FILE:6383:manifests/plist.gprlib]
189 include/gpr/gpr.relocatable/
190  gpr-ali.adb
191  gpr-ali.ads
192  gpr-attr-pm.adb
193  gpr-attr-pm.ads
194  gpr-attr.adb
195  gpr-attr.ads
196  gpr-com.ads
197  gpr-compilation-process-waiter.adb
198  gpr-compilation-process-waiter.ads
199  gpr-compilation-process.adb
200  gpr-compilation-process.ads
201  gpr-compilation-protocol.adb
202  gpr-compilation-protocol.ads
203  gpr-compilation-slave.adb
204  gpr-compilation-slave.ads
205  gpr-compilation-sync.adb
206  gpr-compilation-sync.ads
207  gpr-compilation.adb
208  gpr-compilation.ads
209  gpr-conf.adb
210  gpr-conf.ads
211  gpr-cset.adb
212  gpr-cset.ads
213  gpr-debug.adb
214  gpr-debug.ads
215  gpr-dect.adb
216  gpr-dect.ads
217  gpr-env.adb
218  gpr-env.ads
219  gpr-err-scanner.adb
220  gpr-err.adb
221  gpr-err.ads
222  gpr-erroutc.adb
223  gpr-erroutc.ads
224  gpr-ext.adb
225  gpr-ext.ads
226  gpr-knowledge.adb
227  gpr-knowledge.ads
228  gpr-names.adb
229  gpr-names.ads
230  gpr-nmsc.adb
231  gpr-nmsc.ads
232  gpr-opt.ads
233  gpr-osint.adb
234  gpr-osint.ads
235  gpr-output.adb
236  gpr-output.ads
237  gpr-part.adb
238  gpr-part.ads
239  gpr-pp.adb
240  gpr-pp.ads
241  gpr-proc.adb
242  gpr-proc.ads
243  gpr-scans.adb
244  gpr-scans.ads
245  gpr-script.adb
246  gpr-script.ads
247  gpr-sdefault.ads
248  gpr-sinput.adb
249  gpr-sinput.ads
250  gpr-snames.adb
251  gpr-snames.ads
252  gpr-stamps.adb
253  gpr-strt.adb
254  gpr-strt.ads
255  gpr-tempdir.adb
256  gpr-tempdir.ads
257  gpr-tree.adb
258  gpr-tree.ads
259  gpr-util-aux.adb
260  gpr-util-aux.ads
261  gpr-util-knowledge.adb
262  gpr-util.adb
263  gpr-util.ads
264  gpr-version.adb
265  gpr-version.ads
266  gpr.adb
267  gpr.ads
268  gpr_build_util.adb
269  gpr_build_util.ads
270  gpr_imports.c
271 include/gpr/gpr.static/
272  gpr-ali.adb
273  gpr-ali.ads
274  gpr-attr-pm.adb
275  gpr-attr-pm.ads
276  gpr-attr.adb
277  gpr-attr.ads
278  gpr-com.ads
279  gpr-compilation-process-waiter.adb
280  gpr-compilation-process-waiter.ads
281  gpr-compilation-process.adb
282  gpr-compilation-process.ads
283  gpr-compilation-protocol.adb
284  gpr-compilation-protocol.ads
285  gpr-compilation-slave.adb
286  gpr-compilation-slave.ads
287  gpr-compilation-sync.adb
288  gpr-compilation-sync.ads
289  gpr-compilation.adb
290  gpr-compilation.ads
291  gpr-conf.adb
292  gpr-conf.ads
293  gpr-cset.adb
294  gpr-cset.ads
295  gpr-debug.adb
296  gpr-debug.ads
297  gpr-dect.adb
298  gpr-dect.ads
299  gpr-env.adb
300  gpr-env.ads
301  gpr-err-scanner.adb
302  gpr-err.adb
303  gpr-err.ads
304  gpr-erroutc.adb
305  gpr-erroutc.ads
306  gpr-ext.adb
307  gpr-ext.ads
308  gpr-knowledge.adb
309  gpr-knowledge.ads
310  gpr-names.adb
311  gpr-names.ads
312  gpr-nmsc.adb
313  gpr-nmsc.ads
314  gpr-opt.ads
315  gpr-osint.adb
316  gpr-osint.ads
317  gpr-output.adb
318  gpr-output.ads
319  gpr-part.adb
320  gpr-part.ads
321  gpr-pp.adb
322  gpr-pp.ads
323  gpr-proc.adb
324  gpr-proc.ads
325  gpr-scans.adb
326  gpr-scans.ads
327  gpr-script.adb
328  gpr-script.ads
329  gpr-sdefault.ads
330  gpr-sinput.adb
331  gpr-sinput.ads
332  gpr-snames.adb
333  gpr-snames.ads
334  gpr-stamps.adb
335  gpr-strt.adb
336  gpr-strt.ads
337  gpr-tempdir.adb
338  gpr-tempdir.ads
339  gpr-tree.adb
340  gpr-tree.ads
341  gpr-util-aux.adb
342  gpr-util-aux.ads
343  gpr-util-knowledge.adb
344  gpr-util.adb
345  gpr-util.ads
346  gpr-version.adb
347  gpr-version.ads
348  gpr.adb
349  gpr.ads
350  gpr_build_util.adb
351  gpr_build_util.ads
352  gpr_imports.c
353 include/gpr/gpr.static-pic/
354  gpr-ali.adb
355  gpr-ali.ads
356  gpr-attr-pm.adb
357  gpr-attr-pm.ads
358  gpr-attr.adb
359  gpr-attr.ads
360  gpr-com.ads
361  gpr-compilation-process-waiter.adb
362  gpr-compilation-process-waiter.ads
363  gpr-compilation-process.adb
364  gpr-compilation-process.ads
365  gpr-compilation-protocol.adb
366  gpr-compilation-protocol.ads
367  gpr-compilation-slave.adb
368  gpr-compilation-slave.ads
369  gpr-compilation-sync.adb
370  gpr-compilation-sync.ads
371  gpr-compilation.adb
372  gpr-compilation.ads
373  gpr-conf.adb
374  gpr-conf.ads
375  gpr-cset.adb
376  gpr-cset.ads
377  gpr-debug.adb
378  gpr-debug.ads
379  gpr-dect.adb
380  gpr-dect.ads
381  gpr-env.adb
382  gpr-env.ads
383  gpr-err-scanner.adb
384  gpr-err.adb
385  gpr-err.ads
386  gpr-erroutc.adb
387  gpr-erroutc.ads
388  gpr-ext.adb
389  gpr-ext.ads
390  gpr-knowledge.adb
391  gpr-knowledge.ads
392  gpr-names.adb
393  gpr-names.ads
394  gpr-nmsc.adb
395  gpr-nmsc.ads
396  gpr-opt.ads
397  gpr-osint.adb
398  gpr-osint.ads
399  gpr-output.adb
400  gpr-output.ads
401  gpr-part.adb
402  gpr-part.ads
403  gpr-pp.adb
404  gpr-pp.ads
405  gpr-proc.adb
406  gpr-proc.ads
407  gpr-scans.adb
408  gpr-scans.ads
409  gpr-script.adb
410  gpr-script.ads
411  gpr-sdefault.ads
412  gpr-sinput.adb
413  gpr-sinput.ads
414  gpr-snames.adb
415  gpr-snames.ads
416  gpr-stamps.adb
417  gpr-strt.adb
418  gpr-strt.ads
419  gpr-tempdir.adb
420  gpr-tempdir.ads
421  gpr-tree.adb
422  gpr-tree.ads
423  gpr-util-aux.adb
424  gpr-util-aux.ads
425  gpr-util-knowledge.adb
426  gpr-util.adb
427  gpr-util.ads
428  gpr-version.adb
429  gpr-version.ads
430  gpr.adb
431  gpr.ads
432  gpr_build_util.adb
433  gpr_build_util.ads
434  gpr_imports.c
435 lib/libgpr.so
436 lib/gnat/gpr.gpr
437 lib/gpr/relocatable/gpr/
438  gpr-ali.ali
439  gpr-attr-pm.ali
440  gpr-attr.ali
441  gpr-com.ali
442  gpr-compilation-process-waiter.ali
443  gpr-compilation-process.ali
444  gpr-compilation-protocol.ali
445  gpr-compilation-slave.ali
446  gpr-compilation-sync.ali
447  gpr-compilation.ali
448  gpr-conf.ali
449  gpr-cset.ali
450  gpr-debug.ali
451  gpr-dect.ali
452  gpr-env.ali
453  gpr-err.ali
454  gpr-erroutc.ali
455  gpr-ext.ali
456  gpr-knowledge.ali
457  gpr-names.ali
458  gpr-nmsc.ali
459  gpr-opt.ali
460  gpr-osint.ali
461  gpr-output.ali
462  gpr-part.ali
463  gpr-pp.ali
464  gpr-proc.ali
465  gpr-scans.ali
466  gpr-script.ali
467  gpr-sdefault.ali
468  gpr-sinput.ali
469  gpr-snames.ali
470  gpr-strt.ali
471  gpr-tempdir.ali
472  gpr-tree.ali
473  gpr-util-aux.ali
474  gpr-util.ali
475  gpr-version.ali
476  gpr.ali
477  gpr_build_util.ali
478  libgpr.so
479 lib/gpr/static-pic/gpr/
480  gpr-ali.ali
481  gpr-attr-pm.ali
482  gpr-attr.ali
483  gpr-com.ali
484  gpr-compilation-process-waiter.ali
485  gpr-compilation-process.ali
486  gpr-compilation-protocol.ali
487  gpr-compilation-slave.ali
488  gpr-compilation-sync.ali
489  gpr-compilation.ali
490  gpr-conf.ali
491  gpr-cset.ali
492  gpr-debug.ali
493  gpr-dect.ali
494  gpr-env.ali
495  gpr-err.ali
496  gpr-erroutc.ali
497  gpr-ext.ali
498  gpr-knowledge.ali
499  gpr-names.ali
500  gpr-nmsc.ali
501  gpr-opt.ali
502  gpr-osint.ali
503  gpr-output.ali
504  gpr-part.ali
505  gpr-pp.ali
506  gpr-proc.ali
507  gpr-scans.ali
508  gpr-script.ali
509  gpr-sdefault.ali
510  gpr-sinput.ali
511  gpr-snames.ali
512  gpr-strt.ali
513  gpr-tempdir.ali
514  gpr-tree.ali
515  gpr-util-aux.ali
516  gpr-util.ali
517  gpr-version.ali
518  gpr.ali
519  gpr_build_util.ali
520  libgpr.a
521 lib/gpr/static/gpr/
522  gpr-ali.ali
523  gpr-attr-pm.ali
524  gpr-attr.ali
525  gpr-com.ali
526  gpr-compilation-process-waiter.ali
527  gpr-compilation-process.ali
528  gpr-compilation-protocol.ali
529  gpr-compilation-slave.ali
530  gpr-compilation-sync.ali
531  gpr-compilation.ali
532  gpr-conf.ali
533  gpr-cset.ali
534  gpr-debug.ali
535  gpr-dect.ali
536  gpr-env.ali
537  gpr-err.ali
538  gpr-erroutc.ali
539  gpr-ext.ali
540  gpr-knowledge.ali
541  gpr-names.ali
542  gpr-nmsc.ali
543  gpr-opt.ali
544  gpr-osint.ali
545  gpr-output.ali
546  gpr-part.ali
547  gpr-pp.ali
548  gpr-proc.ali
549  gpr-scans.ali
550  gpr-script.ali
551  gpr-sdefault.ali
552  gpr-sinput.ali
553  gpr-snames.ali
554  gpr-strt.ali
555  gpr-tempdir.ali
556  gpr-tree.ali
557  gpr-util-aux.ali
558  gpr-util.ali
559  gpr-version.ali
560  gpr.ali
561  gpr_build_util.ali
562  libgpr.a
563
564
565 [FILE:2218:manifests/plist.examples]
566 share/examples/gprbuild/Makefile
567 share/examples/gprbuild/ada_cpp/
568  Makefile
569  animals.gpr
570  except.gpr
571 share/examples/gprbuild/ada_cpp/src1/
572  ada_main.adb
573  call_cpp.adb
574  call_cpp.ads
575  cpp_main.cpp
576  cpp_routine.cpp
577  cpp_routine.h
578 share/examples/gprbuild/ada_cpp/src2/
579  animals.adb
580  animals.ads
581  animals.h
582  animals_c.cc
583  animals_interfaces.ads
584  main.adb
585 share/examples/gprbuild/ada_f77/
586  Makefile
587  ess.f
588  fm.gpr
589  ft.gpr
590 share/examples/gprbuild/ada_f77/src/
591  fm-interfac.adb
592  fm-interfac.ads
593  fm-locks.adb
594  fm-locks.ads
595  fm-protected_queue.adb
596  fm-protected_queue.ads
597  fm-system_dependant.adb
598  fm-system_dependant.ads
599  fm-tuple_manager.adb
600  fm-tuple_manager.ads
601  fm-types.ads
602  fm.adb
603  fm.ads
604 share/examples/gprbuild/extended_projects/
605  Makefile
606  new_ada_main.gpr
607  new_common_subsystem.gpr
608 share/examples/gprbuild/extended_projects/new_ada_src/ada_main.adb
609 share/examples/gprbuild/extended_projects/new_util_src/
610  c_lib.ads
611  lib2.c
612 share/examples/gprbuild/first_steps/
613  Makefile
614  ada_main.gpr
615  c_main.gpr
616 share/examples/gprbuild/first_steps/ada_src/ada_main.adb
617 share/examples/gprbuild/first_steps/c_src/c_main.c
618 share/examples/gprbuild/first_steps/util_src/
619  ada_lib.adb
620  ada_lib.ads
621  c_lib.ads
622  lib.c
623  lib.h
624 share/examples/gprbuild/libraries/
625  Makefile
626  Makefile2
627  ada_main.adb
628  c_main.c
629  dynamic_lib.gpr
630  extern_lib.gpr
631  main0.gpr
632  main1.gpr
633  main2.gpr
634  main3.gpr
635  main4.gpr
636  sa_lib.gpr
637  static_lib.gpr
638 share/examples/gprbuild/libraries/lib_src/
639  ada_lib.adb
640  ada_lib.ads
641  c_lib.ads
642  lib.c
643  lib.h
644 share/examples/gprbuild/matrix/
645  Makefile
646  matrix.gpr
647 share/examples/gprbuild/matrix/src/
648  initmat.c
649  main.adb
650  multmat.f
651 share/examples/gprbuild/namings/
652  Makefile
653  _print2.ada
654  _print3.adb
655  main.adb
656  my_routine.c1
657  my_routine2.c1
658  namings.gpr
659  util-case1.ada
660  util-case2.ada
661  util.ads
662 share/examples/gprbuild/namings/src1/main.adb
663 share/examples/gprbuild/scenarios/
664  Makefile
665  general_lib.gpr
666  main.gpr
667 share/examples/gprbuild/subsystems/
668  Makefile
669  ada_main.gpr
670  attribute_sharing.gpr
671  c_main.gpr
672  common_subsystem.gpr
673 share/examples/gprbuild/subsystems/ada_src/ada_main.adb
674 share/examples/gprbuild/subsystems/c_src/c_main.c
675 share/examples/gprbuild/subsystems/util_src/
676  ada_lib.adb
677  ada_lib.ads
678  c_lib.ads
679  lib.c
680  lib.h
681
682
683 [FILE:591:patches/patch-gpr_gpr.gpr]
684 --- gpr/gpr.gpr.orig    2019-11-24 03:02:47 UTC
685 +++ gpr/gpr.gpr
686 @@ -16,7 +16,7 @@
687  --                                                                          --
688  ------------------------------------------------------------------------------
689  
690 -with "xmlada";
691 +with "xmlada_schema";
692  
693  library project GPR is
694  
695 @@ -37,6 +37,8 @@ library project GPR is
696     for Object_Dir use "libobj/" & Bld & "/" & Gnat_Lib_Type;
697     for Library_Dir use "lib/" & Bld & "/" & Gnat_Lib_Type;
698  
699 +   for Library_Options use Xmlada_schema'Library_options;
700 +
701     --------------
702     -- Compiler --
703     --------------
704
705
706 [FILE:1202:patches/patch-share_gprconfig_compilers.xml]
707 --- share/gprconfig/compilers.xml.orig  2019-11-24 03:02:47 UTC
708 +++ share/gprconfig/compilers.xml
709 @@ -177,17 +177,15 @@
710      </version>
711      <languages>Ada</languages>
712      <variable name="gcc_version">
713 -      <external>${PREFIX}gcc -v</external>
714 +      <external>ada -v</external>
715        <grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
716      </variable>
717      <runtimes default="default,kernel,native">
718 -       <directory group="default" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/adalib/</directory>
719 -       <directory group="default" contents="^rts-">\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/ada_object_path</directory>
720 -       <directory group="2" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/rts-(.*)/adalib/</directory>
721 -       <directory group="1" >\.\./$TARGET/lib/gnat/(.*)/adalib/</directory>
722 +       <directory group="default">\.\./lib/gcc/$TARGET/$gcc_version/adalib</directory>
723 +       <directory group="0">/raven/toolchain/@GCCX@/lib/gcc/$TARGET/$gcc_version/adalib</directory>
724      </runtimes>
725      <target>
726 -      <external>${PREFIX}gcc -dumpmachine</external>
727 +      <external>ada -dumpmachine</external>
728        <grep regexp="[^\r\n]+"></grep>
729      </target>
730    </compiler_description>
731
732
733 [FILE:486:patches/patch-share_gprconfig_gnat.xml]
734 --- share/gprconfig/gnat.xml.orig       2019-11-24 03:02:47 UTC
735 +++ share/gprconfig/gnat.xml
736 @@ -60,7 +60,7 @@
737     &filter_gnat;
738     <config>
739     package Compiler is
740 -      for Driver                   ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc";
741 +      for Driver                   ("Ada") use "${PATH(ada)}ada";
742        for Language_Kind            ("Ada") use "unit_based";
743        for Dependency_Kind          ("Ada") use "ALI_File";
744        for Leading_Required_Switches        ("Ada") use
745
746
747 [FILE:2233:patches/patch-share_gprconfig_linker.xml]
748 --- share/gprconfig/linker.xml.orig     2019-11-24 03:02:47 UTC
749 +++ share/gprconfig/linker.xml
750 @@ -965,11 +965,14 @@
751      </config>
752    </configuration>
753  
754 -  <!-- linux, freebsd, Irix, QNX -->
755 +  <!-- linux, bsd, Irix, QNX -->
756    <configuration>
757      <targets>
758         <target name="^.*linux.*$" />
759         <target name="^.*freebsd.*$" />
760 +       <target name="^.*dragonfly.*$" />
761 +       <target name="^.*openbsd.*$" />
762 +       <target name="^.*netbsd.*$" />
763         <target name="^.*irix.*$" />
764         <target name="^.*qnx[0-9]*$" />
765      </targets>
766 @@ -985,12 +988,15 @@
767      </config>
768    </configuration>
769  
770 -  <!-- linux, freebsd, QNX -->
771 +  <!-- linux, bsd, QNX -->
772    <configuration>
773      <targets>
774         <target name="^.*linux.*$" />
775         <target name="^.*qnx[0-9]*$" />
776         <target name="^.*freebsd.*$" />
777 +       <target name="^.*dragonfly.*$" />
778 +       <target name="^.*openbsd.*$" />
779 +       <target name="^.*netbsd.*$" />
780      </targets>
781      <config>
782     for Run_Path_Option  use ("-Wl,-z,origin,-rpath,");
783 @@ -1003,13 +1009,33 @@
784      </config>
785    </configuration>
786  
787 +  <!-- linux and bsd -->
788 +  <configuration>
789 +    <compilers>
790 +       <compiler language="Ada" />
791 +    </compilers>
792 +    <targets>
793 +       <target name="^.*freebsd.*$" />
794 +       <target name="^.*dragonfly.*$" />
795 +       <target name="^.*openbsd.*$" />
796 +       <target name="^.*netbsd.*$" />
797 +       <target name="^.*linux.*$" />
798 +    </targets>
799 +    <config>
800 +   package Linker is
801 +      for Required_Switches use
802 +        Linker'Required_Switches
803 +        &amp; ("-Wl,-rpath,${RUNTIME_DIR(ada)}adalib");
804 +   end Linker;
805 +    </config>
806 +  </configuration>
807 +
808    <!-- Cross linux, QNX: add rpath-link to the runtime -->
809    <configuration>
810      <compilers>
811         <compiler language="Ada" />
812      </compilers>
813       <targets>
814 -       <target name="^.*-linux.*$" />
815         <target name="^.*-qnx[0-9]*"/>
816       </targets>
817      <config>
818 @@ -1473,6 +1499,9 @@
819         <target name="^.*mingw.*$" />
820         <target name="^.*linux.*$" />
821         <target name="^.*freebsd.*$" />
822 +       <target name="^.*dragonfly.*$" />
823 +       <target name="^.*openbsd.*$" />
824 +       <target name="^.*netbsd.*$" />
825       </targets>
826      <config>
827     package Linker is
828
829
830 [FILE:1188:patches/patch-share_gprconfig_targetset.xml]
831 --- share/gprconfig/targetset.xml.orig  2019-11-24 03:02:47 UTC
832 +++ share/gprconfig/targetset.xml
833 @@ -102,9 +102,10 @@
834    </targetset>
835  
836    <!-- x86-solaris -->
837 -  <targetset canonical="x86-solaris">
838 -    <target>x86-solaris</target>
839 -    <target>i.86-(pc-)?solaris.*</target>
840 +  <targetset canonical="x86_64-solaris">
841 +    <target>x86_64-solaris</target>
842 +    <target>x86_64-.*solaris.*</target>
843 +    <target>i.86-.*solaris.*</target>
844    </targetset>
845  
846    <!-- x86-windows (mingw) -->
847 @@ -228,6 +229,26 @@
848      <target>amd64-.*freebsd.*</target>
849    </targetset>
850  
851 +  <!-- x86_64 DragonFly -->
852 +  <targetset canonical="x86_64-dragonfly">
853 +    <target>x86_64-dragonfly</target>
854 +    <target>x86_64-.*dragonfly.*</target>
855 +  </targetset>
856 +
857 +  <!-- x86_64 NetBSD -->
858 +  <targetset canonical="x86_64-netbsd">
859 +    <target>x86_64-netbsd</target>
860 +    <target>x86_64-.*netbsd.*</target>
861 +    <target>amd64-.*netbsd.*</target>
862 +  </targetset>
863 +
864 +  <!-- x86_64 OpenBSD -->
865 +  <targetset canonical="x86_64-openbsd">
866 +    <target>x86_64-openbsd</target>
867 +    <target>x86_64-.*openbsd.*</target>
868 +    <target>amd64-.*openbsd.*</target>
869 +  </targetset>
870 +
871  <!-- Cross Ports -->
872  <!-- *********** -->
873  
874
875
876 [FILE:452:patches/patch-src_gprbuild-link.adb]
877 --- src/gprbuild-link.adb.orig  2019-11-24 03:02:47 UTC
878 +++ src/gprbuild-link.adb
879 @@ -3010,8 +3010,6 @@ package body Gprbuild.Link is
880           if Opt.Run_Path_Option
881             and then Main_Proj.Config.Run_Path_Option /= No_Name_List
882           then
883 -            Add_Rpath_From_Arguments (Rpaths, Arguments, Main_Proj);
884 -            Add_Rpath_From_Arguments (Rpaths, Other_Arguments, Main_Proj);
885              Add_Run_Path_Options;
886           end if;
887  
888
889
890 [FILE:1679:patches/patch-src_gprlib.adb]
891 --- src/gprlib.adb.orig 2019-11-24 03:02:47 UTC
892 +++ src/gprlib.adb
893 @@ -754,9 +754,6 @@ procedure Gprlib is
894  
895        for Dir of Imported_Library_Directories loop
896           Library_Switches_Table.Append ("-L" & Dir);
897 -         if Path_Option /= null then
898 -            Add_Rpath (Dir);
899 -         end if;
900        end loop;
901  
902        for Libname of Imported_Library_Names loop
903 @@ -951,12 +948,6 @@ procedure Gprlib is
904                Shared_Lib_Suffix.all);
905        end if;
906  
907 -      if Path_Option /= null then
908 -         for Path of Library_Rpath_Options_Table loop
909 -            Add_Rpath (Path);
910 -         end loop;
911 -      end if;
912 -
913        if Path_Option /= null and then not Rpath.Is_Empty then
914           if Separate_Run_Path_Options then
915              for J in 1 .. Rpath.Last_Index loop
916 @@ -1489,9 +1480,7 @@ procedure Gprlib is
917                 Object_Files.Append (Opt);
918              else
919                 if Partial_Linker_Path = null then
920 -                  Fail_Program
921 -                    (null,
922 -                     "unknown object file """ & Opt & """");
923 +                  Put_Line ("WARNING: unknown object '" & Opt & "'");
924                 else
925                    Trailing_PL_Options.Append (Opt);
926                 end if;
927 @@ -2150,10 +2139,10 @@ procedure Gprlib is
928  
929                       Libgnat :=
930                         new String'
931 -                         ("-lgnat-" & Line (6 .. Last));
932 +                         ("-lgnat-" & Line (6));
933                       Libgnarl :=
934                         new String'
935 -                         ("-lgnarl-" & Line (6 .. Last));
936 +                         ("-lgnarl-" & Line (6));
937                    end if;
938  
939                 else
940
941
942 [FILE:38:files/special.mk]
943 PREPEND_PATH=   ${WRKDIR}/bootstrap/bin
944