git: 895b2a5c0485 - main - databases/mongodb70: fix build with llvm19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Dec 2024 17:23:40 UTC
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=895b2a5c04856d44376e58c4259b2aae5f78b9e2 commit 895b2a5c04856d44376e58c4259b2aae5f78b9e2 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2024-12-19 09:54:34 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2024-12-22 17:23:16 +0000 databases/mongodb70: fix build with llvm19 Build with clang from base. Uses 2 public patches. Documentation is in the patches themselves. --- databases/mongodb70/Makefile | 12 ++++++------ databases/mongodb70/distinfo | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile index b74c41e288ee..8d7a0e62df95 100644 --- a/databases/mongodb70/Makefile +++ b/databases/mongodb70/Makefile @@ -1,8 +1,13 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r DISTVERSION= 7.0.16 +PORTREVISION= 1 CATEGORIES= databases net +MASTER_SITES= https://hg.mozilla.org/mozilla-central/raw-rev/:patches PKGNAMESUFFIX= ${DISTVERSION:R:S/.//} +DISTFILES= 223087fdc29f18678f6174e9807b8780e439acf6:patches # https://bugzilla.mozilla.org/1894423 +EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONPREFIX}${DISTVERSION}_GH0.tar.gz \ + ${GH_ACCOUNT}-forks-spidermonkey-${MOZJS_TAG}_GH0.tar.gz MAINTAINER= ronald@FreeBSD.org COMMENT= MongoDB Community Edition (7.0.x Branch) @@ -106,12 +111,6 @@ NOAVX_EXTRA_PATCHES= ${FILESDIR}/extrapatch-src_third__party_mozjs_SConscript \ SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500026 # llvm 19.1.2 import -USES+= llvm:max=18,build -.endif - .include <bsd.port.pre.mk> ALL_TARGET= install-core @@ -136,6 +135,7 @@ post-patch: ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/preprocessor.py ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/backend/base.py ${REINPLACE_CMD} -e 's#rU#r#g' ${WRKDIR}/spidermonkey-${MOZJS_TAG}/python/mozbuild/mozbuild/action/process_define_files.py + ${PATCH} -d ${WRKSRC}/src/third_party/mozjs/extract --quiet -p1 -V none < ${DISTDIR}/223087fdc29f18678f6174e9807b8780e439acf6 pre-configure: # Verify we downloaded the proper mozjs git tag. diff --git a/databases/mongodb70/distinfo b/databases/mongodb70/distinfo index 8afb2ffae9e2..e7e26d93b4f6 100644 --- a/databases/mongodb70/distinfo +++ b/databases/mongodb70/distinfo @@ -1,4 +1,6 @@ -TIMESTAMP = 1734084793 +TIMESTAMP = 1734425826 +SHA256 (223087fdc29f18678f6174e9807b8780e439acf6) = f234371584e2b2bc9953ae4fd145da19c99a6f04087f53d59616aecf29df039c +SIZE (223087fdc29f18678f6174e9807b8780e439acf6) = 1597 SHA256 (mongodb-mongo-r7.0.16_GH0.tar.gz) = 54bd8bee37ef413c3286bbda43fc719935547cd521dc2ac87051c9f136de016e SIZE (mongodb-mongo-r7.0.16_GH0.tar.gz) = 87167274 SHA256 (mongodb-forks-spidermonkey-22954e1ce6bf72c7cf36f3a29ef030fff4ff6d33_GH0.tar.gz) = b0ba41c3cb2f387afaef9fd8771b1250176680cbc7625836e545e0dec436e85d