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.
Port details on branch 2025Q1
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.1n/an/an/a
FreeBSD:13:quarterly3.5.13.5.13.4.43.5.13.5.1n/an/an/a
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/an/a3.4.4_13.4.4_1
FreeBSD:15:quarterly3.5.13.5.1n/a-n/an/a--
FreeBSD:16:latest3.5.13.5.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/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 (242 items / 235 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/electron36
  12. devel/electron37
  13. devel/electron38
  14. devel/electron39
  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/gowall
  67. graphics/hs-tart
  68. graphics/openfx-arena
  69. graphics/wayland
  70. lang/cjs
  71. lang/crystal
  72. lang/dhall
  73. lang/ecl
  74. lang/elm
  75. lang/gforth
  76. lang/ghc
  77. lang/ghc92
  78. lang/ghc94
  79. lang/ghc96
  80. lang/gjs
  81. lang/gnustep-base
  82. lang/guile2
  83. lang/guile3
  84. lang/hs-brainfuck
  85. lang/hs-futhark
  86. lang/hs-koka
  87. lang/hs-unlambda
  88. lang/inko
  89. lang/librep
  90. lang/micropython
  91. lang/newlisp
  92. lang/pharo
  93. lang/picolisp
  94. lang/polyml
  95. lang/purescript
  96. lang/python27
  97. lang/python310
  98. lang/python311
  99. lang/python312
  100. lang/python313
  101. lang/python313t
  102. lang/python314
  103. lang/quilc
  104. lang/racket
  105. lang/racket-minimal
  106. lang/sagittarius-scheme
  107. lang/smalltalk
  108. lang/snobol4
  109. lang/spidermonkey102
  110. lang/spidermonkey78
  111. lang/spidermonkey91
  112. lang/squeak
  113. lang/tauthon
  114. lang/trealla-prolog
  115. lang/yabasic
  116. mail/oama
  117. mail/thunderbird
  118. mail/thunderbird-esr
  119. math/hs-Agda
  120. math/hs-syfco
  121. math/maxima
  122. misc/hs-hascard
  123. net/pacemaker2
  124. net-im/matterhorn
  125. net-im/signal-desktop
  126. net-p2p/cardano-db-sync
  127. net-p2p/cardano-node
  128. net-p2p/ogmios
  129. ports-mgmt/hs-cabal2tuple
  130. ports-mgmt/hs-panopticum
  131. print/hs-hscolour
  132. science/paraview
  133. science/zotero
  134. security/hs-cryptol
  135. security/p11-kit
  136. security/wazuh-manager
  137. sysutils/cardano-cli
  138. sysutils/hs-cputype
  139. sysutils/libdnf
  140. textproc/cgrep
  141. textproc/hs-lhs2tex
  142. textproc/hs-pandoc
  143. textproc/hs-pandoc-crossref
  144. textproc/hs-yaml
  145. www/chromium
  146. www/deno
  147. www/firefox
  148. www/firefox-esr
  149. www/hs-DAV
  150. www/hs-gitit
  151. www/hs-hjsmin
  152. www/hs-postgrest
  153. www/hs-wai-app-static
  154. www/hs-yesod-bin
  155. www/iridium
  156. www/librewolf
  157. www/tor-browser
  158. www/ungoogled-chromium
  159. www/waterfox
  160. x11/conlecterm
  161. x11/hs-xmobar
  162. x11-toolkits/guile-gnome-platform
  163. x11-wm/hs-xmonad
  164. Collapse this list.

Deleted ports which required this port:

Expand this list of 73 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/electron35*
  14. devel/hs-bytestring-nums*
  15. devel/hs-c2hs*
  16. devel/hs-drift*
  17. devel/hs-haddock*
  18. devel/hs-hdoc*
  19. devel/hs-hls-install*
  20. devel/hs-idoc*
  21. devel/lua-alien*
  22. devel/php74-ffi*
  23. devel/php80-ffi*
  24. devel/pure-ffi*
  25. devel/py-gobject*
  26. devel/py-gobject3*
  27. devel/py3-cffi*
  28. devel/py3-gobject3*
  29. devel/rubygem-ffi110*
  30. devel/seed*
  31. devel/seed3*
  32. devel/yosys*
  33. finance/quba-viewer*
  34. games/hedgewars-server*
  35. graphics/copperspice*
  36. java/jamvm*
  37. java/sablevm*
  38. lang/ghc810*
  39. lang/ghc843*
  40. lang/ghc844*
  41. lang/ghc862*
  42. lang/newlisp-devel*
  43. lang/pypy*
  44. lang/pypy-devel*
  45. lang/pypy3*
  46. lang/pypy3-devel*
  47. lang/python26*
  48. lang/python31*
  49. lang/python32*
  50. lang/python33*
  51. lang/python34*
  52. lang/python35*
  53. lang/python36*
  54. lang/python37*
  55. lang/python38*
  56. lang/python39*
  57. lang/racket-textual*
  58. lang/spidermonkey38*
  59. lang/spidermonkey52*
  60. lang/spidermonkey60*
  61. lang/spidermonkey68*
  62. lang/stklos*
  63. lang/whitespace*
  64. math/freemat*
  65. math/hs-penrose*
  66. math/sage*
  67. textproc/hs-cgrep*
  68. textproc/hs-pandoc-citeproc*
  69. textproc/hs-pandoc32*
  70. www/libxul*
  71. www/seamonkey*
  72. x11-servers/wayland*
  73. x11-toolkits/gtkada3*
  74. 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 2025Q1 for this port