aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-01-29 08:35:32 +0800
committerjkim <jkim@FreeBSD.org>2013-01-29 08:35:32 +0800
commit592dff864d5dbf52fd6d7657a493e7219046f510 (patch)
tree1237d87fa7c34f19bb431060ef80850ad8b99c8b
parentcde494508661e4fb0959b567debd7763b773c474 (diff)
downloadfreebsd-ports-gnome-592dff864d5dbf52fd6d7657a493e7219046f510.tar.gz
freebsd-ports-gnome-592dff864d5dbf52fd6d7657a493e7219046f510.tar.zst
freebsd-ports-gnome-592dff864d5dbf52fd6d7657a493e7219046f510.zip
- Update devel/libffi to 3.0.11.
- Reset maintainership for libffi. See ports/164941. PR: ports/171768 Submitted by: Takefu <takefu@airport.fm>
-rw-r--r--UPDATING14
-rw-r--r--devel/gobject-introspection/Makefile2
-rw-r--r--devel/libffi/Makefile32
-rw-r--r--devel/libffi/distinfo4
-rw-r--r--devel/libffi/files/patch-configure20
-rw-r--r--devel/libffi/files/patch-src_arm_sysv.S73
-rw-r--r--devel/libffi/pkg-plist2
-rw-r--r--devel/lua-alien/Makefile2
-rw-r--r--devel/rubygem-ffi/Makefile2
-rw-r--r--devel/seed/Makefile2
-rw-r--r--lang/ghc/bsd.cabal.mk2
-rw-r--r--lang/gnustep-base/Makefile2
-rw-r--r--lang/librep/Makefile2
-rw-r--r--lang/python27/Makefile2
-rw-r--r--lang/ruby19/Makefile2
-rw-r--r--lang/stklos/Makefile2
16 files changed, 54 insertions, 111 deletions
diff --git a/UPDATING b/UPDATING
index a9e15cb678cd..5429127effad 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,20 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20130128:
+ AFFECTS: users of libffi
+ AUTHOR jkim@FreeBSD.org
+
+ libffi has been updated to 3.0.11. Please rebuild all ports that
+ depends on it:
+
+ If you use portmaster:
+ portmaster -w -r libffi
+ If you use portupgrade:
+ portupgrade -fr devel/libffi
+ If you use pkgng with binary packages:
+ pkg install -fR devel/libffi
+
20130121:
AFFECTS: users of mail/opensmtpd
AUTHOR: ashish@FreeBSD.org
diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile
index 3eb0309aa77f..35312296c6e3 100644
--- a/devel/gobject-introspection/Makefile
+++ b/devel/gobject-introspection/Makefile
@@ -16,7 +16,7 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Generate interface introspection data for GObject libraries
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
USE_BZIP2= yes
GNU_CONFIGURE= yes
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 0df6d579f8db..87baf15943ad 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -1,26 +1,38 @@
-# New ports collection makefile for: libffi
-# Date created: 14, June, 1998
-# Whom: Horance Chou <horance@freedom.ie.cycu.edu.tw>
-#
+# Created by: Horance Chou <horance@freedom.ie.cycu.edu.tw>
# $FreeBSD$
-#
PORTNAME= libffi
-PORTVERSION= 3.0.9
+PORTVERSION= 3.0.11
CATEGORIES= devel
-MASTER_SITES= ftp://sourceware.org/pub/libffi/
+MASTER_SITES= ftp://sourceware.org/pub/libffi/ \
+ http://www.mirrorservice.org/sites/sourceware.org/pub/libffi/
-MAINTAINER= bkoenig@alpha-tierchen.de
+MAINTAINER= ports@FreeBSD.org
COMMENT= Foreign Function Interface
+OPTIONS_DEFINE= TEST
+TEST_DESC= Run regression test suite
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MTEST}
+BUILD_DEPENDS= runtest:${PORTSDIR}/misc/dejagnu
+.endif
+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack pkgconfig
+USE_GNOME= gnomehack
+USE_PKGCONFIG= build
PLIST_SUB= PORTVERSION=${PORTVERSION}
INFO= libffi
-MAN3= ffi.3 ffi_call.3 ffi_prep_cif.3
+MAN3= ffi.3 ffi_call.3 ffi_prep_cif.3 ffi_prep_cif_var.3
+
+.if ${PORT_OPTIONS:MTEST}
+post-build:
+ @cd ${WRKSRC} && ${GMAKE} check
+.endif
post-install:
@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h ${PREFIX}/include/
diff --git a/devel/libffi/distinfo b/devel/libffi/distinfo
index fbc191518a26..30133f808cee 100644
--- a/devel/libffi/distinfo
+++ b/devel/libffi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libffi-3.0.9.tar.gz) = 589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452
-SIZE (libffi-3.0.9.tar.gz) = 731719
+SHA256 (libffi-3.0.11.tar.gz) = 70bfb01356360089aa97d3e71e3edf05d195599fd822e922e50d46a0055a6283
+SIZE (libffi-3.0.11.tar.gz) = 794220
diff --git a/devel/libffi/files/patch-configure b/devel/libffi/files/patch-configure
index dffd4235e917..9ef83c9e31c8 100644
--- a/devel/libffi/files/patch-configure
+++ b/devel/libffi/files/patch-configure
@@ -1,21 +1,11 @@
---- configure.orig 2010-11-22 12:53:14.000000000 +0100
-+++ configure 2010-11-22 12:53:26.000000000 +0100
-@@ -12231,6 +12231,9 @@
- powerpc-*-freebsd*)
- TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc
- ;;
-+ powerpc64-*-freebsd*)
-+ TARGET=POWERPC; TARGETDIR=powerpc
-+ ;;
- powerpc*-*-rtems*)
- TARGET=POWERPC; TARGETDIR=powerpc
- ;;
-@@ -14484,7 +14487,7 @@
+--- configure.orig 2013-01-11 13:46:23.000000000 -0500
++++ configure 2013-01-11 13:46:50.000000000 -0500
+@@ -14254,7 +14254,7 @@
libffi_cv_as_x86_pcrel=yes
echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
-- if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
-+ if $CC -c conftest.s 2>&1 | grep -i warning > /dev/null; then
+- if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
++ if $CC -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
libffi_cv_as_x86_pcrel=no
fi
diff --git a/devel/libffi/files/patch-src_arm_sysv.S b/devel/libffi/files/patch-src_arm_sysv.S
deleted file mode 100644
index ebdd6811715a..000000000000
--- a/devel/libffi/files/patch-src_arm_sysv.S
+++ /dev/null
@@ -1,73 +0,0 @@
---- src/arm/sysv.S.orig 2008-02-15 02:15:41.000000000 +0100
-+++ src/arm/sysv.S 2008-04-01 13:25:02.000000000 +0200
-@@ -83,14 +83,6 @@
- # define call_reg(x) mov lr, pc ; mov pc, x
- #endif
-
--/* Conditionally compile unwinder directives. */
--#ifdef __ARM_EABI__
--#define UNWIND
--#else
--#define UNWIND @
--#endif
--
--
- #if defined(__thumb__) && !defined(__THUMB_INTERWORK__)
- .macro ARM_FUNC_START name
- .text
-@@ -101,7 +93,6 @@
- bx pc
- nop
- .arm
-- UNWIND .fnstart
- /* A hook to tell gdb that we've switched to ARM mode. Also used to call
- directly from other local arm routines. */
- _L__\name:
-@@ -112,7 +103,6 @@
- .align 0
- .arm
- ENTRY(\name)
-- UNWIND .fnstart
- .endm
- #endif
-
-@@ -145,11 +135,8 @@
- ARM_FUNC_START ffi_call_SYSV
- @ Save registers
- stmfd sp!, {r0-r3, fp, lr}
-- UNWIND .save {r0-r3, fp, lr}
- mov fp, sp
-
-- UNWIND .setfp fp, sp
--
- @ Make room for all of the new args.
- sub sp, fp, r2
-
-@@ -219,7 +206,6 @@
- RETLDM "r0-r3,fp"
-
- .ffi_call_SYSV_end:
-- UNWIND .fnend
- .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
-
- /*
-@@ -231,12 +217,9 @@
- */
-
- ARM_FUNC_START ffi_closure_SYSV
-- UNWIND .pad #16
- add ip, sp, #16
- stmfd sp!, {ip, lr}
-- UNWIND .save {r0, lr}
- add r2, sp, #8
-- .pad #16
- sub sp, sp, #16
- str sp, [sp, #8]
- add r1, sp, #8
-@@ -291,6 +274,5 @@
- #endif
-
- .ffi_closure_SYSV_end:
-- UNWIND .fnend
- .size CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)
-
diff --git a/devel/libffi/pkg-plist b/devel/libffi/pkg-plist
index 73404b1c0920..03a26337d72f 100644
--- a/devel/libffi/pkg-plist
+++ b/devel/libffi/pkg-plist
@@ -5,7 +5,7 @@ lib/libffi-%%PORTVERSION%%/include/ffitarget.h
lib/libffi.a
lib/libffi.la
lib/libffi.so
-lib/libffi.so.5
+lib/libffi.so.6
libdata/pkgconfig/libffi.pc
@dirrm lib/libffi-%%PORTVERSION%%/include
@dirrm lib/libffi-%%PORTVERSION%%
diff --git a/devel/lua-alien/Makefile b/devel/lua-alien/Makefile
index 7a46ccb0fad4..3126602154a8 100644
--- a/devel/lua-alien/Makefile
+++ b/devel/lua-alien/Makefile
@@ -18,7 +18,7 @@ COMMENT= Lua -> C FFI
LICENSE= MIT
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
USE_LUA= 5.1
diff --git a/devel/rubygem-ffi/Makefile b/devel/rubygem-ffi/Makefile
index a2de119b6050..de42b58da53c 100644
--- a/devel/rubygem-ffi/Makefile
+++ b/devel/rubygem-ffi/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Extension for dynamic libraries & binding functions
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
USE_RUBY= yes
USE_RAKE= yes
diff --git a/devel/seed/Makefile b/devel/seed/Makefile
index 50855b6e2a75..bbd6152c5f2e 100644
--- a/devel/seed/Makefile
+++ b/devel/seed/Makefile
@@ -20,7 +20,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= GObject JavaScriptCore bridge
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-js-common.pc:${PORTSDIR}/devel/gnome-js-common
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi \
webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2 \
girepository-1.0.1:${PORTSDIR}/devel/gobject-introspection \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
diff --git a/lang/ghc/bsd.cabal.mk b/lang/ghc/bsd.cabal.mk
index 0dafe365c6b3..40f7b7f7c50d 100644
--- a/lang/ghc/bsd.cabal.mk
+++ b/lang/ghc/bsd.cabal.mk
@@ -84,7 +84,7 @@ USE_BINUTILS= yes
USE_GCC= 4.6+
.if ${PORT_OPTIONS:MDYNAMIC}
-LIB_DEPENDS+= ffi.5:${PORTSDIR}/devel/libffi
+LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi
.endif
CONFIGURE_ARGS+= --with-gcc=${CC} --with-ld=${LD} --with-ar=${AR} \
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index 343caa278583..70919c23cabd 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -14,7 +14,7 @@ MASTER_SITE_SUBDIR= core
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep Foundation library
-LIB_DEPENDS+= ffi.5:${PORTSDIR}/devel/libffi
+LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi
LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index c335a7fba1c4..c65ce9eed7d7 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -16,7 +16,7 @@ COMMENT= An Emacs Lisp like runtime library
LICENSE= GPLv2
LIB_DEPENDS= gdbm.4:${PORTSDIR}/databases/gdbm \
- ffi.5:${PORTSDIR}/devel/libffi \
+ ffi:${PORTSDIR}/devel/libffi \
gmp.10:${PORTSDIR}/math/gmp
RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index e33da15154f6..fb4b92fc0f43 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -95,7 +95,7 @@ PLIST_SUB+= THREADS=""
CONFIGURE_ARGS+= --with-pth --with-system-ffi
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure-pth
LIB_DEPENDS+= pth:${PORTSDIR}/devel/pth \
- ffi.5:${PORTSDIR}/devel/libffi
+ ffi:${PORTSDIR}/devel/libffi
_PTH_CPPFLAGS= "-I${LOCALBASE}/include/pth"
_PTH_LDFLAGS= "-L${LOCALBASE}/lib/pth"
CPPFLAGS:= ${_PTH_CPPFLAGS} ${CPPFLAGS}
diff --git a/lang/ruby19/Makefile b/lang/ruby19/Makefile
index 7b368496edd4..faafd18b3bb3 100644
--- a/lang/ruby19/Makefile
+++ b/lang/ruby19/Makefile
@@ -14,7 +14,7 @@ DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT?= An object-oriented interpreted scripting language
-LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi \
yaml-0.2:${PORTSDIR}/textproc/libyaml \
execinfo.1:${PORTSDIR}/devel/libexecinfo
diff --git a/lang/stklos/Makefile b/lang/stklos/Makefile
index 246e53899bf6..339dfd77b40a 100644
--- a/lang/stklos/Makefile
+++ b/lang/stklos/Makefile
@@ -17,7 +17,7 @@ COMMENT= The successor of the STk Scheme interpreter
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
pcre.3:${PORTSDIR}/devel/pcre \
- ffi.5:${PORTSDIR}/devel/libffi \
+ ffi:${PORTSDIR}/devel/libffi \
gc-threaded.1:${PORTSDIR}/devel/boehm-gc-threaded
ONLY_FOR_ARCHS= i386 amd64