op 3f68f4bae4 update devel/libffi to 3.4.2
changelog: https://github.com/libffi/libffi/releases/tag/v3.4.2

tested with few of the 'big' consumer (cabal-install, jna, ghc, gforth,
guile2, python/3.9, ruby/3.1) by gnezdo@ (thanks!) and me on amd64.

maintainer timeout, ok sthen@
2022-05-26 07:24:38 +00:00

31 lines
585 B
Makefile

COMMENT= Foreign Function Interface
V= 3.4.2
DISTNAME= libffi-$V
SHARED_LIBS += ffi 2.0 # 9.0
CATEGORIES= devel
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
HOMEPAGE= https://sourceware.org/libffi/
# BSD
PERMIT_PACKAGE= Yes
# needed for unwind symbols
.if ${MACHINE_ARCH} == "arm"
WANTLIB += c++abi
.endif
MASTER_SITES= https://github.com/libffi/libffi/releases/download/v$V/
DEBUG_PACKAGES = ${BUILD_PACKAGES}
TEST_DEPENDS= devel/dejagnu
CONFIGURE_STYLE= gnu
FAKE_FLAGS+= includesdir="${PREFIX}/include"
.include <bsd.port.mk>