git: 20e8b42e2b73 - main - graphics/podofo: Convert post-patch to EXTRACT_AFTER_ARGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 May 2024 21:54:08 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=20e8b42e2b7388c97514575ee7ccc9f3026f481b commit 20e8b42e2b7388c97514575ee7ccc9f3026f481b Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-05-20 21:42:58 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-05-20 21:53:52 +0000 graphics/podofo: Convert post-patch to EXTRACT_AFTER_ARGS Reduce I/O by not extracting unneeded dependencies PR: 278776 Approved by: portmgr (maintainer timeout, 2+ weeks) --- graphics/podofo/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/graphics/podofo/Makefile b/graphics/podofo/Makefile index 1dec4cea14dc..7bbf6016aff7 100644 --- a/graphics/podofo/Makefile +++ b/graphics/podofo/Makefile @@ -22,6 +22,13 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ USES= cmake compiler:c++17-lang cpe gnome localbase:ldflags pkgconfig ssl USE_GNOME= libxml2 +# Clean up bundled libraries +EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fast_float.h \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/date \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/fmt \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/3rdparty/utf8cpp \ + --no-same-owner --no-same-permissions + CFLAGS+= -I${LOCALBASE}/include/fast_float CMAKE_ARGS= -DFONTCONFIG_LIBRARIES=${LOCALBASE}/lib/libfontconfig.so \ -DOPENSSL_INCLUDE_DIR=${OPENSSLINC} \ @@ -46,11 +53,4 @@ PNG_LIB_DEPENDS= libpng.so:graphics/png TIFF_CMAKE_BOOL= WANT_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff -post-patch: -# Clean up bundled libraries - @${RM} ${WRKSRC}/3rdparty/fast_float.h - @${RM} -r ${WRKSRC}/3rdparty/date/ - @${RM} -r ${WRKSRC}/3rdparty/fmt/ - @${RM} -r ${WRKSRC}/3rdparty/utf8cpp/ - .include <bsd.port.mk>