diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2024-05-16 12:27:51 +0200 |
---|---|---|
committer | Ronald Klop <ronald@FreeBSD.org> | 2024-05-18 11:07:38 +0200 |
commit | ef1c83c3421a1e33f43ece7de9a71e608b3f5048 (patch) | |
tree | 3885dc3455f578a1afdbafe9b9466733c84c1cb1 /databases/mongodb60 | |
parent | graphics/qgis: Update to 3.36.3 (diff) |
databases/mongodb60: Convert post-patch to EXTRACT_AFTER_ARGS
Saves I/O by not extracting bundled deps
PR: 278768
Diffstat (limited to 'databases/mongodb60')
-rw-r--r-- | databases/mongodb60/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile index 2373e62f15a1..bd40a9ace48f 100644 --- a/databases/mongodb60/Makefile +++ b/databases/mongodb60/Makefile @@ -1,7 +1,7 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r DISTVERSION= 6.0.15 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases net PKGNAMESUFFIX= ${DISTVERSION:R:S/.//} @@ -51,6 +51,16 @@ USE_RC_SUBR= mongod SHEBANG_FILES= buildscripts/scons.py python_OLD_CMD= @python_interpreter@ +EXTRACT_AFTER_ARGS= --exclude src/third_party/icu4c-* \ + --exclude src/third_party/pcre-* \ + --exclude src/third_party/snappy-* \ + --exclude src/third_party/libstemmer_c \ + --exclude src/third_party/unwind \ + --exclude src/third_party/yaml-cpp \ + --exclude src/third_party/zlib-* \ + --exclude src/third_party/zstandard \ + --no-same-owner --no-same-permissions + MAKE_ARGS= --cxx-std=17 \ --disable-warnings-as-errors \ --libc++ \ @@ -109,15 +119,6 @@ MOZJS_ARCH= ${ARCH} .endif post-patch: - ${RM} -rf ${WRKSRC}/src/third_party/icu4c-* - ${RM} -rf ${WRKSRC}/src/third_party/pcre-* - ${RM} -rf ${WRKSRC}/src/third_party/snappy-* - ${RM} -rf ${WRKSRC}/src/third_party/libstemmer_c - ${RM} -rf ${WRKSRC}/src/third_party/unwind - ${RM} -rf ${WRKSRC}/src/third_party/yaml-cpp - ${RM} -rf ${WRKSRC}/src/third_party/zlib-* - ${RM} -rf ${WRKSRC}/src/third_party/zstandard - # fix build with python-3.11 ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/util.py ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/preprocessor.py |