diff options
-rw-r--r-- | devel/libffi-devel/Makefile | 19 | ||||
-rw-r--r-- | devel/libffi-devel/distinfo | 1 | ||||
-rw-r--r-- | devel/libffi-devel/files/patch-aa | 10 | ||||
-rw-r--r-- | devel/libffi-devel/files/patch-ab | 44 | ||||
-rw-r--r-- | devel/libffi-devel/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libffi-devel/pkg-descr | 4 | ||||
-rw-r--r-- | devel/libffi-devel/pkg-plist | 9 | ||||
-rw-r--r-- | devel/libffi/Makefile | 19 | ||||
-rw-r--r-- | devel/libffi/distinfo | 1 | ||||
-rw-r--r-- | devel/libffi/files/patch-aa | 10 | ||||
-rw-r--r-- | devel/libffi/files/patch-ab | 44 | ||||
-rw-r--r-- | devel/libffi/pkg-comment | 1 | ||||
-rw-r--r-- | devel/libffi/pkg-descr | 4 | ||||
-rw-r--r-- | devel/libffi/pkg-plist | 9 |
14 files changed, 176 insertions, 0 deletions
diff --git a/devel/libffi-devel/Makefile b/devel/libffi-devel/Makefile new file mode 100644 index 000000000000..e510528aa765 --- /dev/null +++ b/devel/libffi-devel/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: libffi +# Version required: 1.18 +# Date created: 14, June, 1998 +# Whom: Horance Chou <horance@freedom.ie.cycu.edu.tw> +# +# $Id$ +# + +DISTNAME= libffi-1.18 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.cygnus.com:/pub/green/ + +MAINTAINER= horance@freedom.ie.cycu.edu.tw + +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PKGNAME} +ALL_TARGET= test + +.include <bsd.port.mk> diff --git a/devel/libffi-devel/distinfo b/devel/libffi-devel/distinfo new file mode 100644 index 000000000000..1de8ff6d9b9c --- /dev/null +++ b/devel/libffi-devel/distinfo @@ -0,0 +1 @@ +MD5 (libffi-1.18.tar.gz) = e8d8fa118c52cae8eb8aec6b01090238 diff --git a/devel/libffi-devel/files/patch-aa b/devel/libffi-devel/files/patch-aa new file mode 100644 index 000000000000..832b44066d5a --- /dev/null +++ b/devel/libffi-devel/files/patch-aa @@ -0,0 +1,10 @@ +--- configure.orig Sun Jun 14 14:42:47 1998 ++++ configure Sun Jun 14 14:33:17 1998 +@@ -1234,6 +1234,7 @@ + case "$host" in + mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;; + i*86-pc-linux*) TARGET=X86; TARGETDIR=x86;; ++i*86-unknown-freebsd*) TARGET=X86; TARGETDIR=x86;; + sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;; + sparc-sun-*) TARGET=SPARC; TARGETDIR=sparc;; + alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; TARGETDIR=alpha;; diff --git a/devel/libffi-devel/files/patch-ab b/devel/libffi-devel/files/patch-ab new file mode 100644 index 000000000000..01d32630e0f9 --- /dev/null +++ b/devel/libffi-devel/files/patch-ab @@ -0,0 +1,44 @@ +--- src/x86/sysv.S.orig Sun Jun 14 14:43:22 1998 ++++ src/x86/sysv.S Sun Jun 14 14:48:35 1998 +@@ -30,14 +30,14 @@ + + .text + +-.globl ffi_prep_args ++.globl _ffi_prep_args + + # This assumes we are using gas. +- .balign 16 +-.globl ffi_call_SYSV +- .type ffi_call_SYSV,@function ++ .align 4 ++.globl _ffi_call_SYSV ++ .type _ffi_call_SYSV,@function + +-ffi_call_SYSV: ++_ffi_call_SYSV: + pushl %ebp + movl %esp,%ebp + +@@ -47,10 +47,10 @@ + + movl %esp,%eax + +- # Place all of the ffi_prep_args in position ++ # Place all of the _ffi_prep_args in position + pushl 12(%ebp) + pushl %eax +- call ffi_prep_args ++ call _ffi_prep_args + + # Return stack to previous state and call the function + addl $8,%esp +@@ -110,6 +110,6 @@ + movl %ebp,%esp + popl %ebp + ret +-.ffi_call_SYSV_end: +- .size ffi_call_SYSV,.ffi_call_SYSV_end-ffi_call_SYSV ++._ffi_call_SYSV_end: ++ .size _ffi_call_SYSV,._ffi_call_SYSV_end-_ffi_call_SYSV + diff --git a/devel/libffi-devel/pkg-comment b/devel/libffi-devel/pkg-comment new file mode 100644 index 000000000000..58a9956dad5e --- /dev/null +++ b/devel/libffi-devel/pkg-comment @@ -0,0 +1 @@ +Foreign Function Interface. diff --git a/devel/libffi-devel/pkg-descr b/devel/libffi-devel/pkg-descr new file mode 100644 index 000000000000..c26c491b2f4e --- /dev/null +++ b/devel/libffi-devel/pkg-descr @@ -0,0 +1,4 @@ +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. diff --git a/devel/libffi-devel/pkg-plist b/devel/libffi-devel/pkg-plist new file mode 100644 index 000000000000..3a8e0e277773 --- /dev/null +++ b/devel/libffi-devel/pkg-plist @@ -0,0 +1,9 @@ +include/fficonfig.h +include/ffi.h +include/ffi_mips.h +lib/libffi.la +lib/libffi.a +lib/libffi.so +lib/libffi.so.2.1 +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile new file mode 100644 index 000000000000..e510528aa765 --- /dev/null +++ b/devel/libffi/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: libffi +# Version required: 1.18 +# Date created: 14, June, 1998 +# Whom: Horance Chou <horance@freedom.ie.cycu.edu.tw> +# +# $Id$ +# + +DISTNAME= libffi-1.18 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.cygnus.com:/pub/green/ + +MAINTAINER= horance@freedom.ie.cycu.edu.tw + +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${PKGNAME} +ALL_TARGET= test + +.include <bsd.port.mk> diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo new file mode 100644 index 000000000000..1de8ff6d9b9c --- /dev/null +++ b/devel/libffi/distinfo @@ -0,0 +1 @@ +MD5 (libffi-1.18.tar.gz) = e8d8fa118c52cae8eb8aec6b01090238 diff --git a/devel/libffi/files/patch-aa b/devel/libffi/files/patch-aa new file mode 100644 index 000000000000..832b44066d5a --- /dev/null +++ b/devel/libffi/files/patch-aa @@ -0,0 +1,10 @@ +--- configure.orig Sun Jun 14 14:42:47 1998 ++++ configure Sun Jun 14 14:33:17 1998 +@@ -1234,6 +1234,7 @@ + case "$host" in + mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;; + i*86-pc-linux*) TARGET=X86; TARGETDIR=x86;; ++i*86-unknown-freebsd*) TARGET=X86; TARGETDIR=x86;; + sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;; + sparc-sun-*) TARGET=SPARC; TARGETDIR=sparc;; + alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; TARGETDIR=alpha;; diff --git a/devel/libffi/files/patch-ab b/devel/libffi/files/patch-ab new file mode 100644 index 000000000000..01d32630e0f9 --- /dev/null +++ b/devel/libffi/files/patch-ab @@ -0,0 +1,44 @@ +--- src/x86/sysv.S.orig Sun Jun 14 14:43:22 1998 ++++ src/x86/sysv.S Sun Jun 14 14:48:35 1998 +@@ -30,14 +30,14 @@ + + .text + +-.globl ffi_prep_args ++.globl _ffi_prep_args + + # This assumes we are using gas. +- .balign 16 +-.globl ffi_call_SYSV +- .type ffi_call_SYSV,@function ++ .align 4 ++.globl _ffi_call_SYSV ++ .type _ffi_call_SYSV,@function + +-ffi_call_SYSV: ++_ffi_call_SYSV: + pushl %ebp + movl %esp,%ebp + +@@ -47,10 +47,10 @@ + + movl %esp,%eax + +- # Place all of the ffi_prep_args in position ++ # Place all of the _ffi_prep_args in position + pushl 12(%ebp) + pushl %eax +- call ffi_prep_args ++ call _ffi_prep_args + + # Return stack to previous state and call the function + addl $8,%esp +@@ -110,6 +110,6 @@ + movl %ebp,%esp + popl %ebp + ret +-.ffi_call_SYSV_end: +- .size ffi_call_SYSV,.ffi_call_SYSV_end-ffi_call_SYSV ++._ffi_call_SYSV_end: ++ .size _ffi_call_SYSV,._ffi_call_SYSV_end-_ffi_call_SYSV + diff --git a/devel/libffi/pkg-comment b/devel/libffi/pkg-comment new file mode 100644 index 000000000000..58a9956dad5e --- /dev/null +++ b/devel/libffi/pkg-comment @@ -0,0 +1 @@ +Foreign Function Interface. diff --git a/devel/libffi/pkg-descr b/devel/libffi/pkg-descr new file mode 100644 index 000000000000..c26c491b2f4e --- /dev/null +++ b/devel/libffi/pkg-descr @@ -0,0 +1,4 @@ +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. diff --git a/devel/libffi/pkg-plist b/devel/libffi/pkg-plist new file mode 100644 index 000000000000..3a8e0e277773 --- /dev/null +++ b/devel/libffi/pkg-plist @@ -0,0 +1,9 @@ +include/fficonfig.h +include/ffi.h +include/ffi_mips.h +lib/libffi.la +lib/libffi.a +lib/libffi.so +lib/libffi.so.2.1 +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R |