Files
ports/lang/fpc/files/patch-compiler_systems_t__bsd.pas
Jose Alonso Cardenas Marquez 22caa26719 lang/fpc: update to 3.2.3
- Now we will use fixes_3.2 branch. It includes fixes of stable branch of fpc
- Remove obsolete patch files
- Change FPC DEFAULT version to 3.2.3
2024-06-16 03:26:33 -05:00

21 lines
1003 B
ObjectPascal

--- compiler/systems/t_bsd.pas.orig 2024-06-14 09:29:25.000000000 -0500
+++ compiler/systems/t_bsd.pas 2024-06-15 23:36:51.623753000 -0500
@@ -114,6 +114,8 @@
if not Dontlinkstdlibpath Then
if target_info.system in systems_openbsd then
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib;=$OPENBSD_X11BASE/lib;=$OPENBSD_LOCALBASE/lib',true)
+ else if target_info.system in systems_freebsd then
+ LibrarySearchPath.AddLibraryPath(sysrootpath,'=/usr/lib;=$FREEBSD_LOCALBASE/lib',true)
else
LibrarySearchPath.AddLibraryPath(sysrootpath,'=/lib;=/usr/lib;=/usr/X11R6/lib',true);
end;
@@ -148,6 +150,8 @@
DynamicLinker:='/usr/libexec/ld.so'
else if target_info.system in systems_netbsd then
DynamicLinker:='/usr/libexec/ld.elf_so'
+ else if target_info.system in systems_freebsd then
+ DynamicLinker:='/usr/libexec/ld-elf.so.1'
else if target_info.system=system_x86_64_dragonfly then
DynamicLinker:='/libexec/ld-elf.so.2'
else