33 lines
656 B
Makefile
33 lines
656 B
Makefile
# $OpenBSD: Makefile,v 1.42 2020/02/10 18:06:34 jasper Exp $
|
|
|
|
COMMENT= Foreign Function Interface
|
|
|
|
DISTNAME= libffi-3.3
|
|
SHARED_LIBS += ffi 1.2 # .6.4
|
|
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://sourceware.org/pub/libffi/ \
|
|
ftp://sourceware.org/pub/libffi/
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
TEST_DEPENDS= devel/dejagnu
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
FAKE_FLAGS+= includesdir="${PREFIX}/include"
|
|
|
|
.include <bsd.port.mk>
|