Originally named FPK-Pascal, the Free Pascal compiler is a 32 bit and 64 bit
Turbo Pascal compatible Pascal compiler for DOS, Linux, Win32, OS/2,
(based on an older version) the AmigaOS, FreeBSD/ELF, BeOS, Darwin(OSX)
and others.
1) Add lib paths to /usr/local/etc/fpc.cfg
# searchpath for libraries
-Fl/usr/local/lib
This is necessary for correct linking of libraries.
2) You can install additional units from:
* lang/fpc-units
3) If you want to see all documentation about FreePascal, you can install
* lang/fpc-docs
4) Optionally, you can install textmode IDE with Delphi support
* editors/fpc-ide
5) This port add support to fp compiler to get value from FPC_LDPATH
environment variable. By default fp compiler use /usr/local/bin/ld.bfd for
linking binaries. If you want change this, just must be define FPC_LDPATH
with path to ld tool that will be used by fp compiler. Take on mind that fpc
only works with binutils on this moment but could work with another ld tool
later on next versions of freepascal
6) Enjoy it ;)
lang/fpc-*: Merge all units to lang/fpc
- Merge all fpc-* units to lang/fpc. It gives us a better way to maintain fpc
and lazarus ports.
- Update Mk/fpc.mk for reflects new changes
- Update Mk/lazarus.mk for reflects new changes
- Now we can defined WANT_FPC_DEVEL AND WANT_LAZARUS_DEVEL for use devel version
of fpc or lazarus for build apps based on fpc/lazarus
- Add entries to MOVED
- Bump PORTREVISON of affected ports
- Some other minor modifications
(cherry picked from commit 0b92f925a3a155ce7b5f4eddfd528553915c6eb8)