git: 2078ede90c28 - main - devel/doxygen: While here, reduce the build noise level a bit.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jan 2025 14:55:14 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2078ede90c285c704a22f293cb9fd14e9b33a605
commit 2078ede90c285c704a22f293cb9fd14e9b33a605
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-01-08 14:52:52 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-01-08 14:53:06 +0000
devel/doxygen: While here, reduce the build noise level a bit.
---
devel/doxygen/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 26209bc71fc3..5a1008cb0cdc 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -25,6 +25,8 @@ USES= bison cmake compiler:c++17-lang cpe dos2unix \
ALL_TARGET= all
CMAKE_ARGS+= -DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL}
+CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0116=OLD # temporary workaround for old Doxygen
+CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0148=OLD # temporary workaround for old Doxygen
EXTRACT_AFTER_ARGS= --exclude '*/libmd5'
@@ -63,4 +65,10 @@ SEARCH_LIB_DEPENDS= libxapian.so:databases/xapian-core
SEARCH_PLIST_FILES= bin/doxyindexer \
bin/doxysearch.cgi
+post-extract: # clean up garbage in tarball
+ ${RM} ${WRKSRC}/templates/html/._resize.js
+ ${RM} ${WRKSRC}/src/._htmlgen.h
+ ${RM} ${WRKSRC}/src/._formula.h
+
+
.include <bsd.port.mk>