diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-09-25 08:48:00 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-09-25 08:48:00 +0000 |
commit | 31f08be6a309375d03f730cefdbae2a6ad49d1d5 (patch) | |
tree | faa7a768db1892a98dce84bf352d0c9665f6c2d1 /lang/gnat/files/patch-ab | |
parent | Make it possible to install the standalone navigator by defining (diff) |
Upgrade to 3.09. This port is no longer broken.
Note you need an existing gnat compiler to build this. (A package will do.)
PR: 3687
Submitted by: Maurice Castro <maurice@planet.serc.rmit.edu.au> and
Daniel M. Eischen <deischen@iworks.InterWorks.org>
Notes
Notes:
svn path=/head/; revision=8025
Diffstat (limited to 'lang/gnat/files/patch-ab')
-rw-r--r-- | lang/gnat/files/patch-ab | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/gnat/files/patch-ab b/lang/gnat/files/patch-ab new file mode 100644 index 000000000000..baf5ebdeec18 --- /dev/null +++ b/lang/gnat/files/patch-ab @@ -0,0 +1,36 @@ +diff -c orig/gcc.c gcc/gcc.c +*** orig/gcc.c Thu Apr 3 08:37:06 1997 +--- gcc-2.7.2.1/gcc.c Fri Apr 4 23:21:00 1997 +*************** +*** 1354,1362 **** + #undef MD_STARTFILE_PREFIX_1 + #endif + +! #ifndef STANDARD_EXEC_PREFIX +! #define STANDARD_EXEC_PREFIX "/usr/local/lib/gcc-lib/" +! #endif /* !defined STANDARD_EXEC_PREFIX */ + + static char *standard_exec_prefix = STANDARD_EXEC_PREFIX; + static char *standard_exec_prefix_1 = "/usr/lib/gcc/"; +--- 1354,1360 ---- + #undef MD_STARTFILE_PREFIX_1 + #endif + +! #define STANDARD_EXEC_PREFIX FREEBSD_PREFIX "/libexec/" + + static char *standard_exec_prefix = STANDARD_EXEC_PREFIX; + static char *standard_exec_prefix_1 = "/usr/lib/gcc/"; +*************** +*** 2708,2715 **** +--- 2706,2716 ---- + /* Use 2 as fourth arg meaning try just the machine as a suffix, + as well as trying the machine and the version. */ + #ifdef FREEBSD_NATIVE ++ add_prefix (&exec_prefixes, FREEBSD_PREFIX "/libexec/ada/", 0, 0, NULL_PTR); ++ add_prefix (&exec_prefixes, FREEBSD_PREFIX "/libexec/", 0, 0, NULL_PTR); + add_prefix (&exec_prefixes, "/usr/libexec/", 0, 0, NULL_PTR); + add_prefix (&exec_prefixes, "/usr/bin/", 0, 0, NULL_PTR); ++ add_prefix (&startfile_prefixes, FREEBSD_PREFIX "/lib/", 0, 0, NULL_PTR); + add_prefix (&startfile_prefixes, "/usr/libdata/gcc/", 0, 0, NULL_PTR); + #else /* not FREEBSD_NATIVE */ + #ifndef OS2 |