jca 2343f34251 No need to link against libpthread any more
The pthread_mutex_* functions are now in libc, so revert the workaround.
Bulk build and ok ajacoutot@, ok jasper@ (maintainer)
2018-01-31 17:58:38 +00:00

31 lines
598 B
Makefile

# $OpenBSD: Makefile,v 1.37 2018/01/31 17:58:38 jca Exp $
COMMENT= Foreign Function Interface
DISTNAME= libffi-3.2.1
REVISION= 4
SHARED_LIBS += ffi 1.2 # .6.4
CATEGORIES= devel
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= https://sourceware.org/libffi/
# BSD
PERMIT_PACKAGE_CDROM= Yes
# needed for unwind symbols
.if ${MACHINE_ARCH} == "arm"
WANTLIB += c++abi
.endif
MASTER_SITES= ftp://sourceware.org/pub/libffi/
TEST_DEPENDS= devel/dejagnu
CONFIGURE_STYLE= gnu
FAKE_FLAGS+= includesdir="${PREFIX}/include"
.include <bsd.port.mk>