On Fri, Apr 24, 2015 at 03:25:57PM +0200, David Coppa wrote:
> On Fri, Apr 24, 2015 at 3:21 PM, David Coppa <dco...@gmail.com> wrote:
> > On Fri, Apr 24, 2015 at 3:05 PM, danielk <danielk_li...@z9d.de> wrote:
> >> Hi all, hi Stuart,
> >>
> >> thanks for your reply.
> >>
> >> On 04/24/2015 02:58 PM, Stuart Henderson wrote:
> >>>
> >>>
> >>> Did you only update awesome, or all packages?
> >>>
> >>
> >> yes i did update them all, sorry for not mentioning that.
> >>
> >
> > Something is broken wrt the libffi pkg-config file:
> >
> > $ pkg-config --libs libffi
> > -L$(libdir) -lffi
> 
> Here's the commit that broke it:
> 
> https://github.com/atgreen/libffi/commit/cc9b518687e46b0d1acafdd4bc3f3b281c25a3d9
> 
> Ciao!
> David
> -- 
> "If you try a few times and give up, you'll never get there. But if
> you keep at it... There's a lot of problems in the world which can
> really be solved by applying two or three times the persistence that
> other people will."
>                 -- Stewart Nelson

Actually, Lauri Tirkkonen just sent me this patch which should do the trick
(it's missing the REVISION bump though):

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libffi/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile    6 Apr 2015 12:11:39 -0000       1.29
+++ Makefile    24 Apr 2015 13:23:33 -0000
@@ -17,7 +17,8 @@ MASTER_SITES=         ftp://sourceware.org/pub/
 
 TEST_DEPENDS=          devel/dejagnu
 
-CONFIGURE_STYLE=       gnu
+AUTOCONF_VERSION=      2.69
+CONFIGURE_STYLE=       autoconf
 CONFIGURE_ARGS+=       ${CONFIGURE_SHARED}
 
 FAKE_FLAGS+=           includesdir="${PREFIX}/include"
Index: patches/patch-configure_ac
===================================================================
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure_ac  24 Apr 2015 13:23:33 -0000
@@ -0,0 +1,32 @@
+From upstream
+https://github.com/atgreen/libffi/commit/ad0d1d239afc7ad09203847793dcc020856d1035
+
+diff --git a/configure.ac b/configure.ac
+index 4f7fe3f..bbc1a9d 100644
+--- configure.ac
++++ configure.ac
+@@ -590,11 +590,11 @@ AC_ARG_ENABLE(purify-safety,
+ if test "x$GCC" = "xyes"; then
+   if test -n "$with_cross_host" &&
+      test x"$with_cross_host" != x"no"; then
+-    toolexecdir='$(exec_prefix)/$(target_alias)'
+-    toolexeclibdir='$(toolexecdir)/lib'
++    toolexecdir="${exec_prefix}"/'$(target_alias)'
++    toolexeclibdir="${toolexecdir}"/lib
+   else
+-    toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+-    toolexeclibdir='$(libdir)'
++    toolexecdir="${libdir}"/gcc-lib/'$(target_alias)'
++    toolexeclibdir="${libdir}"
+   fi
+   multi_os_directory=`$CC $CFLAGS -print-multi-os-directory`
+   case $multi_os_directory in
+@@ -603,7 +603,7 @@ if test "x$GCC" = "xyes"; then
+   esac
+   AC_SUBST(toolexecdir)
+ else
+-  toolexeclibdir='$(libdir)'
++  toolexeclibdir="${libdir}"
+ fi
+ AC_SUBST(toolexeclibdir)
+ 
 

-- 
jasper

Reply via email to