ports/devel/libffi/Makefile

35 lines
656 B
Makefile

COMMENT= Foreign Function Interface
V= 3.4.4
REVISION= 1
DISTNAME= libffi-$V
SHARED_LIBS += ffi 2.0 # 9.2
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
SITES= https://github.com/libffi/libffi/releases/download/v$V/
DEBUG_PACKAGES= ${BUILD_PACKAGES}
USE_GMAKE= Yes
TEST_DEPENDS= devel/dejagnu
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-multi-os-directory
FAKE_FLAGS= includesdir="${PREFIX}/include"
.include <bsd.port.mk>