/[ports]/head/lang/fpc/files/patch-compiler_systems_t__bsd.pas
ViewVC logotype

Contents of /head/lang/fpc/files/patch-compiler_systems_t__bsd.pas

Parent Directory Parent Directory | Revision Log Revision Log


Revision 556252 - (show annotations) (download)
Wed Nov 25 02:57:50 2020 UTC (3 years, 7 months ago) by acm
File MIME type: text/plain
File size: 1045 byte(s)
- Update to 3.2.0

ChangeLog at:	https://wiki.freepascal.org/FPC_New_Features_3.2.0

1 --- compiler/systems/t_bsd.pas 2020-10-03 17:54:31.715884000 -0500
2 +++ compiler/systems/t_bsd.pas 2020-10-03 18:18:40.577288000 -0500
3 @@ -155,6 +155,8 @@
4 LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib',true)
5 else if target_info.system in systems_openbsd then
6 LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib;=$OPENBSD_X11BASE/lib;=$OPENBSD_LOCALBASE/lib',true)
7 + else if target_info.system in systems_freebsd then
8 + LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib;=$FREEBSD_LOCALBASE/lib',true)
9 else
10 LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib;=/usr/lib;=/usr/X11R6/lib',true);
11 end;
12 @@ -167,6 +169,12 @@
13 var
14 LdProgram: string='ld';
15 begin
16 + if target_info.system in systems_freebsd then
17 + begin
18 + LdProgram:=GetEnvPChar('FPC_LDPATH');
19 + if not FileExists(LdProgram,True) then
20 + LdProgram:=GetEnvPChar('LOCALBASE')+'/bin/ld.bfd';
21 + end;
22 if target_info.system in (systems_openbsd+[system_x86_64_dragonfly]) then
23 LdProgram:='ld.bfd';
24 LibrarySuffix:=' ';

Properties

Name Value
fbsd:nokeywords yes
svn:eol-style native
svn:mime-type text/plain

  ViewVC Help
Powered by ViewVC 1.1.27