1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

databases/mongodb42: unbreak build after 620968a43a

Checking if C compiler supports -flto... yes
Checking if linker supports -flto... no
Link time optimization requested, but selected compiler does not honor -flto
[...]
/usr/local/bin/ld.gold: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library: Cannot open "/usr/bin/../lib/LLVMgold.so"
/usr/local/bin/ld.gold: error: build/scons/opt/sconf_temp/conftest_25fe9b7eeda4aef15b03635be7f9c29c_6.o:1:3: invalid character
/usr/local/bin/ld.gold: error: build/scons/opt/sconf_temp/conftest_25fe9b7eeda4aef15b03635be7f9c29c_6.o:1:3: syntax error, unexpected $end
/usr/local/bin/ld.gold: error: build/scons/opt/sconf_temp/conftest_25fe9b7eeda4aef15b03635be7f9c29c_6.o: not an object or archive
/usr/src/lib/csu/amd64/crt1.c:76: error: undefined reference to 'main'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Reported by:	pkg-fallout
Obtained from:	upstream (via mongodb44)

(cherry picked from commit 3292ccea5b)
This commit is contained in:
Jan Beich 2021-10-04 21:46:00 +00:00
parent 67d1d80b40
commit 6b6e874c6b
2 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,10 @@ MASTER_SITES= https://fastdl.mongodb.org/src/ \
PKGNAMESUFFIX= ${DISTVERSION:R:S/.//}
DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION}
PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME:S/db//}/commit/
PATCHFILES+= a0a70c53cc7a.patch:-p1 # https://jira.mongodb.org/browse/SERVER-41827
PATCHFILES+= edf4ab0f8174.patch:-p1 # https://jira.mongodb.org/browse/SERVER-43979
MAINTAINER= ronald-lists@klop.ws
COMMENT= Distributed document-oriented "NoSQL" database (4.2.x Branch)

View File

@ -1,3 +1,7 @@
TIMESTAMP = 1632392379
SHA256 (mongodb-src-r4.2.17.tar.gz) = e329ef22656337aef855d0ff6c9e79572fc8ace94c37c8996f63c0871c1bbf50
SIZE (mongodb-src-r4.2.17.tar.gz) = 62216350
SHA256 (a0a70c53cc7a.patch) = 1435de7b6e6343c996fd58556d721f184b208d90d280996bd0c35dd32339b6b2
SIZE (a0a70c53cc7a.patch) = 1078
SHA256 (edf4ab0f8174.patch) = 87be45f996b1b7fc3700407d6d6671ec6b4b6a593de54ca5355bb6daec3d0213
SIZE (edf4ab0f8174.patch) = 1220