diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile index 323748103ded..6385271efbdd 100644 --- a/devel/libffi/Makefile +++ b/devel/libffi/Makefile @@ -1,29 +1,31 @@ PORTNAME= libffi DISTVERSION= 3.4.4 CATEGORIES= devel MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= kbowling@FreeBSD.org COMMENT= Foreign Function Interface WWW= https://sourceware.org/libffi/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= runtest:misc/dejagnu USES= compiler:c11 cpe libtool pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes CPE_VENDOR= libffi_project CONFIGURE_ARGS= --disable-multi-os-directory INSTALL_TARGET= install-strip INFO= libffi TEST_TARGET= check +LDFLAGS+= -Wl,--undefined-version + post-patch: @${REINPLACE_CMD} -e 's| -Wno-psabi||g' \ ${WRKSRC}/testsuite/lib/libffi.exp .include