$OpenBSD: patch-ext_ffi_c_libffi_bsd_mk,v 1.3 2013/11/03 07:52:02 ajacoutot Exp $
--- ext/ffi_c/libffi.bsd.mk.orig	Thu Jan  1 01:00:00 1970
+++ ext/ffi_c/libffi.bsd.mk	Fri Feb 15 19:13:36 2013
@@ -16,11 +16,11 @@ LIBFFI_BUILD_DIR = ${.CURDIR}/libffi-${arch}
 .endif
 
 
-LIBFFI = ${LIBFFI_BUILD_DIR}/.libs/libffi_convenience.a
+LIBFFI = -lffi
 LIBFFI_CONFIGURE = ${LIBFFI_SRC_DIR}/configure --disable-static \
 	--with-pic=yes --disable-dependency-tracking
 
-$(OBJS):	${LIBFFI}
+$(OBJS):
 
 $(LIBFFI):		
 	@mkdir -p ${LIBFFI_BUILD_DIR}
