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@
31 lines
585 B
Makefile
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>
|