diff --git a/devel/libffi33/Makefile b/devel/libffi33/Makefile index bb4004cb210e..d939880928f1 100644 --- a/devel/libffi33/Makefile +++ b/devel/libffi33/Makefile @@ -1,38 +1,42 @@ PORTNAME= libffi PORTVERSION= 3.3 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SOURCEWARE/${PORTNAME} PKGNAMESUFFIX= 33 PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME}/commit/ PATCHFILES+= 01a75ed76ea7e57f1b7a5c183e2b1e890e6aa0fd.diff:-p1 # This patch is for configure.ac. # A local patch against configure has been created in files/patch-configure. #PATCHFILES+= 8c50837f0b58ba5b2bcb1b424a2a4bfa01559fb2.diff:-p1 MAINTAINER= ports@FreeBSD.org COMMENT= Foreign Function Interface (stripped down compat version) WWW= https://sourceware.org/libffi/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= runtest:misc/dejagnu USES= compiler:c11 cpe libtool pathfix USE_LDCONFIG= ${PREFIX}/lib/compat GNU_CONFIGURE= yes CPE_VENDOR= libffi_project CONFIGURE_ARGS= --disable-multi-os-directory --disable-static --disable-docs \ --libdir=${PREFIX}/lib/compat INSTALL_TARGET= install-strip INFO= libffi TEST_TARGET= check post-patch: @${REINPLACE_CMD} -e 's| -Wno-psabi||g' \ ${WRKSRC}/testsuite/lib/libffi.exp +post-install: + ${RM} -r ${STAGEDIR}${PREFIX}/include + ${RM} -r ${STAGEDIR}${PREFIX}/share/man + .include diff --git a/devel/libffi33/pkg-plist b/devel/libffi33/pkg-plist index db2c3d3721d1..e92392edda14 100644 --- a/devel/libffi33/pkg-plist +++ b/devel/libffi33/pkg-plist @@ -1,10 +1,4 @@ lib/compat/libffi.so lib/compat/libffi.so.7 lib/compat/libffi.so.7.1.0 -@comment include/ffi.h -@comment include/ffitarget.h @comment libdata/pkgconfig/libffi.pc -@comment man/man3/ffi.3.gz -@comment man/man3/ffi_call.3.gz -@comment man/man3/ffi_prep_cif.3.gz -@comment man/man3/ffi_prep_cif_var.3.gz