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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2025Q2
libffi Foreign Function Interface
3.7.1 devel on this many watch lists=85 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.6.0Version 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: 2026-07-13 06:22:10
Commit Hash: b96b385
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.7.1/catalog.mk
  3. /usr/local/share/licenses/libffi-3.7.1/LICENSE
  4. /usr/local/share/licenses/libffi-3.7.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.4.1
  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 = 1783923606 SHA256 (libffi-3.7.1.tar.gz) = d5e9a6638ddbd2513ddb54518eb67e4bbe6fa707bcc01c10f6212f0a088d819d SIZE (libffi-3.7.1.tar.gz) = 1515185

Packages (timestamps in pop-ups are UTC):
libffi
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.5.13.5.13.3_13.5.13.5.1n/an/an/a
FreeBSD:13:quarterly3.5.13.5.13.4.43.5.13.5.1n/an/an/a
FreeBSD:14:latest3.7.13.7.13.4.43.5.13.7.13.4.4-3.4.4
FreeBSD:14:quarterly3.6.03.6.0-3.5.13.6.03.4.43.4.43.4.4
FreeBSD:15:latest3.7.13.7.1n/a3.5.1n/an/a3.4.4_13.4.4_1
FreeBSD:15:quarterly3.6.03.6.0n/a-n/an/a--
FreeBSD:16:latest3.7.13.7.1n/a-n/an/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/ruby33
  2. lang/ruby34
  3. lang/ruby40
  4. lang/sagittarius-scheme

Deleted ports which required this port:

Expand this list of 13 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. lang/ruby32*
  13. lang/ruby35*
  14. 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 (259 items / 252 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/electron37
  11. devel/electron38
  12. devel/electron39
  13. devel/electron40
  14. devel/electron41
  15. devel/electron42
  16. devel/electron43
  17. devel/elm-format
  18. devel/g-golf
  19. devel/g-wrap
  20. devel/glib20
  21. devel/gobject-introspection
  22. devel/hs-ShellCheck
  23. devel/hs-alex
  24. devel/hs-cabal-install
  25. devel/hs-cabal-plan
  26. devel/hs-cpphs
  27. devel/hs-darcs
  28. devel/hs-ghc-events
  29. devel/hs-ghcprofview
  30. devel/hs-ghcup
  31. devel/hs-git-annex
  32. devel/hs-git-brunch
  33. devel/hs-hadolint
  34. devel/hs-happy
  35. devel/hs-haskell-language-server
  36. devel/hs-hasktags
  37. devel/hs-hlint
  38. devel/hs-hoogle
  39. devel/hs-hpack
  40. devel/hs-hspec-discover
  41. devel/hs-mueval
  42. devel/hs-ormolu
  43. devel/hs-profiteur
  44. devel/hs-shake
  45. devel/hs-threadscope
  46. devel/hyprwire
  47. devel/libgnt
  48. devel/lua-lgi
  49. devel/p5-FFI-Platypus
  50. devel/p5-Glib-Object-Introspection
  51. devel/php82-ffi
  52. devel/php83-ffi
  53. devel/php84-ffi
  54. devel/php85-ffi
  55. devel/php86-ffi
  56. devel/py-cffi
  57. devel/py-pygobject
  58. devel/pygobject-common
  59. devel/rubygem-ffi
  60. devel/rubygem-fiddle
  61. devel/stack
  62. devel/wasmer
  63. editors/vscode
  64. emulators/einstein-newton
  65. finance/hs-hledger
  66. finance/hs-hledger-ui
  67. finance/hs-hledger-web
  68. games/hs-scroll
  69. games/lwjgl3
  70. graphics/gowall
  71. graphics/hs-tart
  72. graphics/openfx-arena
  73. graphics/wayland
  74. lang/cbqn
  75. lang/cjs
  76. lang/crystal
  77. lang/dhall
  78. lang/ecl
  79. lang/gforth
  80. lang/ghc
  81. lang/ghc96
  82. lang/ghc98
  83. lang/gjs
  84. lang/gnustep-base
  85. lang/guile2
  86. lang/guile3
  87. lang/hs-brainfuck
  88. lang/hs-futhark
  89. lang/hs-koka
  90. lang/hs-unlambda
  91. lang/inko
  92. lang/librep
  93. lang/micropython
  94. lang/newlisp
  95. lang/pharo
  96. lang/picolisp
  97. lang/polyml
  98. lang/purescript
  99. lang/python27
  100. lang/python310
  101. lang/python311
  102. lang/python312
  103. lang/python313
  104. lang/python313t
  105. lang/python314
  106. lang/python314t
  107. lang/python315
  108. lang/quilc
  109. lang/racket
  110. lang/racket-minimal
  111. lang/ruby33
  112. lang/ruby34
  113. lang/ruby40
  114. lang/sagittarius-scheme
  115. lang/smalltalk
  116. lang/snobol4
  117. lang/squeak
  118. lang/tauthon
  119. lang/trealla-prolog
  120. lang/yabasic
  121. mail/oama
  122. mail/thunderbird
  123. mail/thunderbird-esr
  124. math/hs-Agda
  125. math/maxima
  126. misc/hs-hascard
  127. net/pacemaker2
  128. net-im/matterhorn
  129. net-im/signal-desktop
  130. net-p2p/cardano-db-sync
  131. net-p2p/cardano-node
  132. net-p2p/ogmios
  133. ports-mgmt/hs-cabal2tuple
  134. ports-mgmt/hs-panopticum
  135. print/hs-hscolour
  136. science/paraview
  137. science/zotero
  138. security/hs-cryptol
  139. security/p11-kit
  140. security/wazuh-manager
  141. sysutils/cardano-cli
  142. sysutils/hs-cputype
  143. sysutils/libdnf
  144. textproc/cgrep
  145. textproc/hs-lhs2tex
  146. textproc/hs-pandoc
  147. textproc/hs-pandoc-crossref
  148. textproc/hs-yaml
  149. www/chromium
  150. www/firefox
  151. www/firefox-esr
  152. www/hs-DAV
  153. www/hs-gitit
  154. www/hs-hjsmin
  155. www/hs-postgrest
  156. www/hs-wai-app-static
  157. www/hs-yesod-bin
  158. www/iridium
  159. www/librewolf
  160. www/node26
  161. www/tor-browser
  162. www/ungoogled-chromium
  163. www/waterfox
  164. x11/conlecterm
  165. x11/hs-xmobar
  166. x11-toolkits/guile-gnome-platform
  167. x11-wm/hs-xmonad
  168. Collapse this list.

Deleted ports which required this port:

Expand this list of 86 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/electron34*
  14. devel/electron35*
  15. devel/electron36*
  16. devel/hs-bytestring-nums*
  17. devel/hs-c2hs*
  18. devel/hs-drift*
  19. devel/hs-haddock*
  20. devel/hs-hdoc*
  21. devel/hs-hls-install*
  22. devel/hs-idoc*
  23. devel/hs-spago*
  24. devel/lua-alien*
  25. devel/php74-ffi*
  26. devel/php80-ffi*
  27. devel/php81-ffi*
  28. devel/pure-ffi*
  29. devel/py-gobject*
  30. devel/py-gobject3*
  31. devel/py3-cffi*
  32. devel/py3-gobject3*
  33. devel/rubygem-ffi110*
  34. devel/rubygem-ffi16*
  35. devel/seed*
  36. devel/seed3*
  37. devel/yosys*
  38. finance/quba-viewer*
  39. games/hedgewars-server*
  40. graphics/copperspice*
  41. java/jamvm*
  42. java/sablevm*
  43. lang/elm*
  44. lang/ghc810*
  45. lang/ghc843*
  46. lang/ghc844*
  47. lang/ghc862*
  48. lang/ghc92*
  49. lang/ghc94*
  50. lang/newlisp-devel*
  51. lang/pypy*
  52. lang/pypy-devel*
  53. lang/pypy3*
  54. lang/pypy3-devel*
  55. lang/python26*
  56. lang/python31*
  57. lang/python32*
  58. lang/python33*
  59. lang/python34*
  60. lang/python35*
  61. lang/python36*
  62. lang/python37*
  63. lang/python38*
  64. lang/python39*
  65. lang/racket-textual*
  66. lang/ruby32*
  67. lang/spidermonkey102*
  68. lang/spidermonkey38*
  69. lang/spidermonkey52*
  70. lang/spidermonkey60*
  71. lang/spidermonkey68*
  72. lang/spidermonkey78*
  73. lang/spidermonkey91*
  74. lang/stklos*
  75. lang/whitespace*
  76. math/freemat*
  77. math/hs-penrose*
  78. math/hs-syfco*
  79. math/sage*
  80. textproc/hs-cgrep*
  81. textproc/hs-pandoc-citeproc*
  82. textproc/hs-pandoc32*
  83. www/libxul*
  84. www/seamonkey*
  85. x11-servers/wayland*
  86. x11-toolkits/gtkada3*
  87. Collapse this list of deleted ports.
for Run
  1. devel/ruby-build
  2. security/yubioath-desktop

Deleted ports which required this port:

Expand this list of 12 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. lang/ruby35*
  13. 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.7.1/
Collapse this list.

There are no commits on branch 2025Q2 for this port