View | Details | Raw Unified | Return to bug 257925 | Differences between
and this patch

Collapse All | Expand All

(-)b/databases/mongodb50/Makefile (-4 / +11 lines)
Lines 10-17 DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION} Link Here
10
MAINTAINER=	ronald-lists@klop.ws
10
MAINTAINER=	ronald-lists@klop.ws
11
COMMENT=	Distributed document-oriented "NoSQL" database (5.0.x Branch)
11
COMMENT=	Distributed document-oriented "NoSQL" database (5.0.x Branch)
12
12
13
# mongodb is SSPLv1, C++ driver is APACHE20
13
LICENSE=	SSPLv1 APACHE20 # mongodb is SSPLv1, C++ driver is APACHE20
14
LICENSE=	SSPLv1 APACHE20
15
LICENSE_COMB=	multi
14
LICENSE_COMB=	multi
16
LICENSE_NAME_SSPLv1=	Server Side Public License Version 1
15
LICENSE_NAME_SSPLv1=	Server Side Public License Version 1
17
LICENSE_FILE_SSPLv1=	${WRKSRC}/LICENSE-Community.txt
16
LICENSE_FILE_SSPLv1=	${WRKSRC}/LICENSE-Community.txt
Lines 28-40 LIB_DEPENDS= libpcre.so:devel/pcre \ Link Here
28
		libcurl.so:ftp/curl \
27
		libcurl.so:ftp/curl \
29
		libsnappy.so:archivers/snappy
28
		libsnappy.so:archivers/snappy
30
29
31
USES=		compiler:c++17-lang cpe python:3.5+,build scons
30
USES=		compiler:c++17-lang cpe python:3.5+,build scons shebangfix
32
USE_RC_SUBR=	mongod
31
USE_RC_SUBR=	mongod
33
32
34
CONFLICTS_INSTALL=	mongodb36 mongodb4[024]
33
CONFLICTS_INSTALL=	mongodb36 mongodb4[024]
35
34
36
OPTIONS_DEFINE=	LTO SASL SSL
35
OPTIONS_DEFINE=	LTO SASL SSL
37
OPTIONS_DEFAULT=LTO SASL SSL
36
OPTIONS_DEFAULT=LTO SASL SSL
37
OPTIONS_EXCLUDE_aarch64=        ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
38
OPTIONS_EXCLUDE_aarch64_14=     LTO # Does not work with llvm12 on aarch64.
39
40
SHEBANG_FILES=  buildscripts/scons.py
41
python_OLD_CMD= @python_interpreter@
38
42
39
MAKE_ARGS=	--use-system-zlib \
43
MAKE_ARGS=	--use-system-zlib \
40
		--use-system-pcre \
44
		--use-system-pcre \
Lines 79-87 CPE_PRODUCT= mongodb Link Here
79
pre-patch:
83
pre-patch:
80
	${MV} ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.sx ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.S
84
	${MV} ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.sx ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.S
81
85
86
do-build:
87
	${WRKSRC}/buildscripts/scons.py	-C ${WRKSRC} ${MAKE_ARGS}
88
82
do-install:
89
do-install:
83
.for f in mongo mongod mongos
90
.for f in mongo mongod mongos
84
	${INSTALL_PROGRAM} ${WRKSRC}/build/install${PREFIX}/bin/${f} ${STAGEDIR}${PREFIX}/bin
91
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
85
.endfor
92
.endfor
86
	${INSTALL_DATA} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
93
	${INSTALL_DATA} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample
87
94
(-)b/databases/mongodb50/files/patch-buildscripts_scons.py (+25 lines)
Added Link Here
1
--- buildscripts/scons.py.orig	2021-08-23 09:10:10 UTC
2
+++ buildscripts/scons.py
3
@@ -18,14 +18,14 @@ SITE_TOOLS_DIR = os.path.join(MONGODB_ROOT, 'site_scon
4
 
5
 sys.path = [SCONS_DIR, SITE_TOOLS_DIR] + sys.path
6
 
7
-# pylint: disable=C0413
8
-from mongo.pip_requirements import verify_requirements, MissingRequirements
9
-
10
-try:
11
-    verify_requirements('etc/pip/compile-requirements.txt')
12
-except MissingRequirements as ex:
13
-    print(ex)
14
-    sys.exit(1)
15
+## pylint: disable=C0413
16
+#from mongo.pip_requirements import verify_requirements, MissingRequirements
17
+#
18
+#try:
19
+#    verify_requirements('etc/pip/compile-requirements.txt')
20
+#except MissingRequirements as ex:
21
+#    print(ex)
22
+#    sys.exit(1)
23
 
24
 try:
25
     import SCons.Script

Return to bug 257925