Download and Install libffi version 3.0.6 on Mac OS X
Friday the 10th of October, 2008

    version 3.0.6

      View the most recent changes for the libffi port at: libffi.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for libffi.
      The raw portfile for libffi 3.0.6 is located here:
      http://libffi.darwinports.com/dports/devel/libffi/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/libffi
      Google
      Web Darwinports.com



      # $Id: Portfile 39934 2008-09-13 08:07:02Z pguyot kallisys.net $

      PortSystem 1.0

      Name: libffi
      Version: 3.0.6
      Category: devel
      Platform: darwin
      Maintainers: pguyot kallisys.net

      Description: libffi provides a high level api to various calling conventions
      Long Description: 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. Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. Libffi can be used in such programs to provide a bridge from the interpreter program to compiled code.

      Homepage: http://sources.redhat.com/libffi/
      master_sites ftp://sourceware.org/pub/libffi
      checksums md5 8994a7e0e8baeedf63e3d0d94d75ac68 sha1 04a5f38c76dfe3e078767645ca89f2ff71721104 rmd160 da8f547209e6b13dc7be86ea29ad5fa5e85844e5

      patchfiles patch-include-Makefile-in.diff

      livecheck.url ftp://sourceware.org/pub/libffi/md5.sum
      livecheck.check md5
      livecheck.md5 34bbd45a4d7f553f7fa991b6b47452ec

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/libffi
      % sudo port install libffi
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching libffi
      ---> Verifying checksum for libffi
      ---> Extracting libffi
      ---> Configuring libffi
      ---> Building libffi with target all
      ---> Staging libffi into destroot
      ---> Installing libffi
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using libffi with these commands:
      %  man libffi
      % apropos libffi
      % which libffi
      % locate libffi

     Where to find more information:

    Darwin Ports



    Lightbox this page.