mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
Free Pascal is a mature, versatile, open source Pascal compiler. It can target many processor architectures: Intel x86 (16 and 32 bit), AMD64/x86-64, PowerPC, PowerPC64, SPARC, SPARC64, ARM, AArch64, MIPS, Motorola 68k, AVR, and the JVM. Supported operating systems include Windows (16/32/64 bit, CE, and native NT), Linux, Mac OS X/iOS/iPhoneSimulator/Darwin, FreeBSD and other BSD flavors, DOS (16 bit, or 32 bit DPMI), OS/2, AIX, Android, Haiku, Nintendo GBA/DS/Wii, AmigaOS, MorphOS, AROS, Atari TOS, and various embedded platforms. Additionally, support for RISC-V (32/64), Xtensa, and Z80 architectures, and for the LLVM compiler infrastructure is available in the development version. Additionally, the Free Pascal team maintains a transpiler for pascal to Javascript called pas2js.
11 lines
341 B
ObjectPascal
11 lines
341 B
ObjectPascal
--- packages/opencl/src/cl.pp 2023-10-28 12:54:09.078367000 -0500
|
|
+++ packages/opencl/src/cl.pp 2023-10-28 12:54:33.911516000 -0500
|
|
@@ -55,7 +55,7 @@
|
|
OpenCLlib = 'OpenCL.dll';
|
|
{$DEFINE extdecl := stdcall}
|
|
{$ELSE}
|
|
- {$IFDEF LINUX}
|
|
+ {$IF DEFINED(LINUX) OR DEFINED(FREEBSD)}
|
|
{$DEFINE DYNLINK}
|
|
const
|
|
OpenCLlib = 'libOpenCL.so';
|