View | Details | Raw Unified | Return to bug 120736 | Differences between
and this patch

Collapse All | Expand All

(-)ports/devel/libffi/Makefile (-12 / +10 lines)
Lines 6-29 Link Here
6
#
6
#
7
7
8
PORTNAME=	libffi
8
PORTNAME=	libffi
9
PORTVERSION=	1.20
9
PORTVERSION=	3.0.1
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	ftp://sources.redhat.com/pub/libffi/
11
MASTER_SITES=	ftp://sourceware.org/pub/libffi/
13
12
14
MAINTAINER=	horance@freera.net
13
MAINTAINER=	horance@freera.net
15
COMMENT=	Foreign Function Interface
14
COMMENT=	Foreign Function Interface
16
15
17
USE_AUTOTOOLS=	libtool:15
16
GNU_CONFIGURE=	yes
18
INSTALLS_SHLIB=	yes
17
USE_LDCONFIG=	yes
19
CONFIGURE_TARGET=	# empty
20
18
21
CONFLICTS=	gcc-3*
19
INFO=		libffi
22
20
23
.include <bsd.port.pre.mk>
21
PLIST_SUB=	PORTVERSION=${PORTVERSION}
24
22
25
.if ${ARCH} != "i386" && ${ARCH} != "alpha"
23
MAN3=		${ARCH}-portbld-freebsd${OSREL}-ffi.3 \
26
BROKEN=		"Configure fails on !i386 and !alpha"
24
		${ARCH}-portbld-freebsd${OSREL}-ffi_call.3 \
27
.endif
25
		${ARCH}-portbld-freebsd${OSREL}-ffi_prep_cif.3
28
26
29
.include <bsd.port.post.mk>
27
.include <bsd.port.mk>
(-)ports/devel/libffi/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (libffi-1.20.tar.gz) = e4c9c435ebdfcba6fa493fb1abce2ddc
1
MD5 (libffi-3.0.1.tar.gz) = 6f6cea82a8dfe6126d207fd6113ad632
2
SHA256 (libffi-1.20.tar.gz) = 794a23a3feacc11ef431fae9ad79c33b98043cefd6b001707596ca93085dedaa
2
SHA256 (libffi-3.0.1.tar.gz) = f68e16619b9eb67b1a0fbfcb4ae827f9154fece03ab35366f6896417bd021292
3
SIZE (libffi-1.20.tar.gz) = 109484
3
SIZE (libffi-3.0.1.tar.gz) = 719044
(-)ports/devel/libffi/files/patch-aa (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	Mon Oct  5 04:26:04 1998
2
+++ configure	Sun May 30 19:01:51 1999
3
@@ -1415,6 +1415,8 @@
4
 case "$host" in
5
 mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips;;
6
 i*86-pc-linux*) TARGET=X86; TARGETDIR=x86;;
7
+i*86-unknown-freebsd*) TARGET=X86; TARGETDIR=x86;;
8
+alpha-unknown-freebsd*) TARGET=ALPHA; TARGETDIR=alpha;;
9
 sparc-sun-4*) TARGET=SPARC; TARGETDIR=sparc;;
10
 sparc-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
11
 alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; TARGETDIR=alpha;;
(-)ports/devel/libffi/files/patch-ab (-11 lines)
Lines 1-11 Link Here
1
--- src/x86/sysv.S.orig	Mon Oct  5 16:36:28 1998
2
+++ src/x86/sysv.S	Sat Oct 24 00:56:07 1998
3
@@ -33,7 +33,7 @@
4
 .globl ffi_prep_args
5
 
6
 	# This assumes we are using gas.
7
-        .balign 16
8
+        .align 4
9
 .globl ffi_call_SYSV
10
         .type    ffi_call_SYSV,@function
11
 
(-)ports/devel/libffi/files/patch-ad (-20 lines)
Lines 1-20 Link Here
1
--- src/Makefile.in.orig	Mon Oct  5 04:26:33 1998
2
+++ src/Makefile.in	Sun May 30 21:48:55 1999
3
@@ -164,7 +164,7 @@
4
 SOURCES = $(libffi_la_SOURCES) $(ffitest_SOURCES)
5
 OBJECTS = $(libffi_la_OBJECTS) $(ffitest_OBJECTS)
6
 
7
-all: Makefile $(LTLIBRARIES) $(PROGRAMS)
8
+all: Makefile $(LTLIBRARIES)
9
 
10
 .SUFFIXES:
11
 .SUFFIXES: .S .c .lo .o .s
12
@@ -296,7 +296,7 @@
13
 	done
14
 debug.o debug.lo: debug.c ../include/ffi.h ../fficonfig.h \
15
 	../include/ffi_common.h
16
-ffi.o ffi.lo: x86/ffi.c ../include/ffi.h ../fficonfig.h \
17
+ffi.o ffi.lo: @TARGETDIR@/ffi.c ../include/ffi.h ../fficonfig.h \
18
 	../include/ffi_common.h
19
 ffitest.o ffitest.lo: ffitest.c ../include/ffi.h ../fficonfig.h
20
 prep_cif.o prep_cif.lo: prep_cif.c ../include/ffi.h ../fficonfig.h \
(-)ports/devel/libffi/files/patch-configure (+13 lines)
Line 0 Link Here
1
--- configure.orig	2008-02-15 15:29:30.000000000 +0000
2
+++ configure	2008-02-15 17:40:38.000000000 +0000
3
@@ -20366,6 +20366,10 @@
4
 	HAVE_LONG_DOUBLE='defined(__LONG_DOUBLE_128__)'
5
 	;;
6
 
7
+  amd64*-*-freebsd*)
8
+	TARGET=X86_64; TARGETDIR=x86
9
+	;;
10
+
11
   arm*-*-*)
12
 	TARGET=ARM; TARGETDIR=arm
13
 	;;
(-)ports/devel/libffi/pkg-plist (-6 / +8 lines)
Lines 1-7 Link Here
1
include/fficonfig.h
1
lib/libffi-%%PORTVERSION%%/include/ffi.h
2
include/ffi.h
2
lib/libffi-%%PORTVERSION%%/include/ffitarget.h
3
include/ffi_mips.h
3
lib/libffi.so.5
4
lib/libffi.a
5
lib/libffi.la
6
lib/libffi.so
4
lib/libffi.so
7
lib/libffi.so.2
5
lib/libffi.la
6
lib/libffi.a
7
lib/pkgconfig/libffi.pc
8
@dirrm lib/pkgconfig
9
@dirrm lib/libffi-%%PORTVERSION%%/include/

Return to bug 120736