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

Collapse All | Expand All

(-)b/databases/mongodb50/Makefile (-1 / +6 lines)
Lines 28-34 LIB_DEPENDS= libpcre.so:devel/pcre \ Link Here
28
		libcurl.so:ftp/curl \
28
		libcurl.so:ftp/curl \
29
		libsnappy.so:archivers/snappy
29
		libsnappy.so:archivers/snappy
30
30
31
USES=		compiler:c++17-lang cpe python:3.5+,build scons
31
USES=		compiler:c++17-lang cpe python:3.5+,build scons shebangfix
32
USE_RC_SUBR=	mongod
32
USE_RC_SUBR=	mongod
33
33
34
CONFLICTS_INSTALL=	mongodb36 mongodb4[024]
34
CONFLICTS_INSTALL=	mongodb36 mongodb4[024]
Lines 36-41 CONFLICTS_INSTALL= mongodb36 mongodb4[024] Link Here
36
OPTIONS_DEFINE=	LTO SASL SSL
36
OPTIONS_DEFINE=	LTO SASL SSL
37
OPTIONS_DEFAULT=LTO SASL SSL
37
OPTIONS_DEFAULT=LTO SASL SSL
38
38
39
SHEBANG_FILES=  buildscripts/scons.py
40
python_OLD_CMD= @python_interpreter@
39
MAKE_ARGS=	--use-system-zlib \
41
MAKE_ARGS=	--use-system-zlib \
40
		--use-system-pcre \
42
		--use-system-pcre \
41
		--use-system-snappy \
43
		--use-system-snappy \
Lines 79-84 CPE_PRODUCT= mongodb Link Here
79
pre-patch:
81
pre-patch:
80
	${MV} ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.sx ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.S
82
	${MV} ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.sx ${WRKSRC}/src/third_party/wiredtiger/src/checksum/power8/crc32.S
81
83
84
do-build:
85
	${WRKSRC}/buildscripts/scons.py	-C ${WRKSRC} ${MAKE_ARGS}
86
82
do-install:
87
do-install:
83
.for f in mongo mongod mongos
88
.for f in mongo mongod mongos
84
	${INSTALL_PROGRAM} ${WRKSRC}/build/install${PREFIX}/bin/${f} ${STAGEDIR}${PREFIX}/bin
89
	${INSTALL_PROGRAM} ${WRKSRC}/build/install${PREFIX}/bin/${f} ${STAGEDIR}${PREFIX}/bin
(-)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