notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Server is being updated to FreeBSD 14.3 as you read this... and it is done.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details on branch 2023Q4
libffi Foreign Function Interface
3.5.1 devel on this many watch lists=89 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.5.1Version of this port present on the latest quarterly branch.
Maintainer: kbowling@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2025-06-12 11:22:44
Commit Hash: 7cc912c
People watching this port, also watch:: libxml2, libiconv, expat, pcre, curl
License: MIT
WWW:
https://sourceware.org/libffi/
Description:
The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run time.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (18 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libffi-3.5.1/catalog.mk
  3. /usr/local/share/licenses/libffi-3.5.1/LICENSE
  4. /usr/local/share/licenses/libffi-3.5.1/MIT
  5. include/ffi.h
  6. include/ffitarget.h
  7. lib/libffi.a
  8. lib/libffi.so
  9. lib/libffi.so.8
  10. lib/libffi.so.8.2.0
  11. libdata/pkgconfig/libffi.pc
  12. share/man/man3/ffi.3.gz
  13. share/man/man3/ffi_call.3.gz
  14. share/man/man3/ffi_prep_cif.3.gz
  15. share/man/man3/ffi_prep_cif_var.3.gz
  16. @owner
  17. @group
  18. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libffi>0:devel/libffi
To install the port:
cd /usr/ports/devel/libffi/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libffi
  • pkg install libffi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libffi
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1749727067 SHA256 (libffi-3.5.1.tar.gz) = f99eb68a67c7d54866b7706af245e87ba060d419a062474b456d3bc8d4abdbd1 SIZE (libffi-3.5.1.tar.gz) = 1419757

Packages (timestamps in pop-ups are UTC):
libffi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.5.13.5.13.3_13.5.13.5.1-3.3_1-
FreeBSD:13:quarterly3.5.13.5.13.4.43.5.13.5.13.4.43.4.43.4.4
FreeBSD:14:latest3.5.13.5.13.4.43.5.13.5.13.4.4-3.4.4
FreeBSD:14:quarterly3.5.13.5.1-3.5.13.5.13.4.43.4.43.4.4
FreeBSD:15:latest3.5.13.5.1n/a3.5.1n/a3.4.4_13.4.4_13.4.4_1
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Test dependencies:
  1. runtest : misc/dejagnu
Runtime dependencies:
  1. indexinfo : print/indexinfo
This port is required by:
for Build
  1. lang/ruby32
  2. lang/ruby33
  3. lang/ruby34
  4. lang/ruby35
  5. lang/sagittarius-scheme

Deleted ports which required this port:

Expand this list of 11 deleted ports
  1. lang/ruby19*
  2. lang/ruby20*
  3. lang/ruby21*
  4. lang/ruby22*
  5. lang/ruby23*
  6. lang/ruby24*
  7. lang/ruby25*
  8. lang/ruby26*
  9. lang/ruby27*
  10. lang/ruby30*
  11. lang/ruby31*
  12. Collapse this list of deleted ports.
for Libraries
  1. biology/abyss
  2. cad/hs-verismith
  3. cad/lepton-eda
  4. cad/nvc
  5. cad/opencascade
  6. cad/yosys
  7. cad/yosys-ghdl-plugin
Expand this list (236 items / 229 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. cad/yosys-systemverilog
  3. converters/hs-aeson-pretty
  4. converters/hs-dhall-bash
  5. converters/hs-dhall-json
  6. converters/hs-dhall-yaml
  7. deskutils/hs-arbtt
  8. devel/criterion
  9. devel/ctypes.sh
  10. devel/electron34
  11. devel/electron35
  12. devel/electron36
  13. devel/electron37
  14. devel/electron38
  15. devel/elm-format
  16. devel/g-golf
  17. devel/g-wrap
  18. devel/glib20
  19. devel/gobject-introspection
  20. devel/hs-ShellCheck
  21. devel/hs-alex
  22. devel/hs-cabal-install
  23. devel/hs-cabal-plan
  24. devel/hs-cpphs
  25. devel/hs-darcs
  26. devel/hs-ghc-events
  27. devel/hs-ghcprofview
  28. devel/hs-git-annex
  29. devel/hs-git-brunch
  30. devel/hs-hadolint
  31. devel/hs-happy
  32. devel/hs-haskell-language-server
  33. devel/hs-hasktags
  34. devel/hs-hlint
  35. devel/hs-hoogle
  36. devel/hs-hpack
  37. devel/hs-hspec-discover
  38. devel/hs-mueval
  39. devel/hs-ormolu
  40. devel/hs-profiteur
  41. devel/hs-shake
  42. devel/hs-spago
  43. devel/hs-threadscope
  44. devel/libgnt
  45. devel/lua-lgi
  46. devel/p5-FFI-Platypus
  47. devel/p5-Glib-Object-Introspection
  48. devel/php81-ffi
  49. devel/php82-ffi
  50. devel/php83-ffi
  51. devel/php84-ffi
  52. devel/php85-ffi
  53. devel/py-cffi
  54. devel/py-pygobject
  55. devel/pygobject-common
  56. devel/rubygem-ffi
  57. devel/rubygem-fiddle
  58. devel/stack
  59. devel/wasmer
  60. editors/vscode
  61. finance/hs-hledger
  62. finance/hs-hledger-ui
  63. finance/hs-hledger-web
  64. games/hs-scroll
  65. games/lwjgl3
  66. graphics/hs-tart
  67. graphics/openfx-arena
  68. graphics/wayland
  69. lang/cjs
  70. lang/crystal
  71. lang/dhall
  72. lang/ecl
  73. lang/elm
  74. lang/gforth
  75. lang/ghc
  76. lang/ghc92
  77. lang/ghc94
  78. lang/ghc96
  79. lang/gjs
  80. lang/gnustep-base
  81. lang/guile2
  82. lang/guile3
  83. lang/hs-brainfuck
  84. lang/hs-futhark
  85. lang/hs-koka
  86. lang/hs-unlambda
  87. lang/inko
  88. lang/librep
  89. lang/micropython
  90. lang/newlisp
  91. lang/pharo
  92. lang/picolisp
  93. lang/polyml
  94. lang/purescript
  95. lang/python27
  96. lang/python310
  97. lang/python311
  98. lang/python312
  99. lang/python39
  100. lang/quilc
  101. lang/racket
  102. lang/racket-minimal
  103. lang/sagittarius-scheme
  104. lang/smalltalk
  105. lang/snobol4
  106. lang/spidermonkey102
  107. lang/spidermonkey78
  108. lang/spidermonkey91
  109. lang/squeak
  110. lang/tauthon
  111. lang/trealla-prolog
  112. lang/yabasic
  113. mail/oama
  114. mail/thunderbird
  115. mail/thunderbird-esr
  116. math/hs-Agda
  117. math/hs-syfco
  118. math/maxima
  119. misc/hs-hascard
  120. net/pacemaker2
  121. net-im/matterhorn
  122. net-im/signal-desktop
  123. net-p2p/cardano-db-sync
  124. net-p2p/cardano-node
  125. net-p2p/ogmios
  126. ports-mgmt/hs-cabal2tuple
  127. ports-mgmt/hs-panopticum
  128. print/hs-hscolour
  129. science/paraview
  130. science/zotero
  131. security/hs-cryptol
  132. security/p11-kit
  133. security/wazuh-manager
  134. sysutils/cardano-cli
  135. sysutils/hs-cputype
  136. sysutils/libdnf
  137. textproc/cgrep
  138. textproc/hs-lhs2tex
  139. textproc/hs-pandoc
  140. textproc/hs-pandoc-crossref
  141. textproc/hs-yaml
  142. www/chromium
  143. www/firefox
  144. www/firefox-esr
  145. www/hs-DAV
  146. www/hs-gitit
  147. www/hs-hjsmin
  148. www/hs-postgrest
  149. www/hs-wai-app-static
  150. www/hs-yesod-bin
  151. www/iridium
  152. www/librewolf
  153. www/tor-browser
  154. www/ungoogled-chromium
  155. www/waterfox
  156. x11/conlecterm
  157. x11/hs-xmobar
  158. x11-toolkits/guile-gnome-platform
  159. x11-wm/hs-xmonad
  160. Collapse this list.

Deleted ports which required this port:

Expand this list of 71 deleted ports
  1. databases/compass*
  2. devel/electron23*
  3. devel/electron24*
  4. devel/electron25*
  5. devel/electron26*
  6. devel/electron27*
  7. devel/electron28*
  8. devel/electron29*
  9. devel/electron30*
  10. devel/electron31*
  11. devel/electron32*
  12. devel/electron33*
  13. devel/hs-bytestring-nums*
  14. devel/hs-c2hs*
  15. devel/hs-drift*
  16. devel/hs-haddock*
  17. devel/hs-hdoc*
  18. devel/hs-hls-install*
  19. devel/hs-idoc*
  20. devel/lua-alien*
  21. devel/php74-ffi*
  22. devel/php80-ffi*
  23. devel/pure-ffi*
  24. devel/py-gobject*
  25. devel/py-gobject3*
  26. devel/py3-cffi*
  27. devel/py3-gobject3*
  28. devel/rubygem-ffi110*
  29. devel/seed*
  30. devel/seed3*
  31. devel/yosys*
  32. finance/quba-viewer*
  33. games/hedgewars-server*
  34. graphics/copperspice*
  35. java/jamvm*
  36. java/sablevm*
  37. lang/ghc810*
  38. lang/ghc843*
  39. lang/ghc844*
  40. lang/ghc862*
  41. lang/newlisp-devel*
  42. lang/pypy*
  43. lang/pypy-devel*
  44. lang/pypy3*
  45. lang/pypy3-devel*
  46. lang/python26*
  47. lang/python31*
  48. lang/python32*
  49. lang/python33*
  50. lang/python34*
  51. lang/python35*
  52. lang/python36*
  53. lang/python37*
  54. lang/python38*
  55. lang/racket-textual*
  56. lang/spidermonkey38*
  57. lang/spidermonkey52*
  58. lang/spidermonkey60*
  59. lang/spidermonkey68*
  60. lang/stklos*
  61. lang/whitespace*
  62. math/freemat*
  63. math/hs-penrose*
  64. math/sage*
  65. textproc/hs-cgrep*
  66. textproc/hs-pandoc-citeproc*
  67. textproc/hs-pandoc32*
  68. www/libxul*
  69. www/seamonkey*
  70. x11-servers/wayland*
  71. x11-toolkits/gtkada3*
  72. Collapse this list of deleted ports.
for Run
  1. devel/ruby-build
  2. lang/ruby32
  3. lang/ruby33
  4. lang/ruby34
  5. lang/ruby35
  6. security/yubioath-desktop

Deleted ports which required this port:

Expand this list of 11 deleted ports
  1. lang/ruby19*
  2. lang/ruby20*
  3. lang/ruby21*
  4. lang/ruby22*
  5. lang/ruby23*
  6. lang/ruby24*
  7. lang/ruby25*
  8. lang/ruby26*
  9. lang/ruby27*
  10. lang/ruby30*
  11. lang/ruby31*
  12. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_libffi
USES:
compiler:c11 cpe libtool pathfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/libffi/libffi/releases/download/v3.5.1/
Collapse this list.

There are no commits on branch 2023Q4 for this port