www-apps/mattermost: fix compilation
This commit is contained in:
parent
aaa2601549
commit
c49d2a7acb
@ -19,7 +19,7 @@ DIST mattermost-team-5.8.2-linux-amd64.tar.gz 96603708 BLAKE2B 6995d51e08052d9e9
|
||||
DIST mattermost-team-5.9.1-linux-amd64.tar.gz 96620177 BLAKE2B c95a1f916fc94dcae17368e2ba859367b8eec765f2282abadf8fa34e8f1fe850b08522d1e2ee82225a1d0649a4e69053c0aa07eb7c133054cb9ade32d9eff248 SHA512 b93905f983efa68442ae3ae584413f30e1e929177354d5d613e5804f9708a9d91ae6bc6a22c12c0bad2c95555a7e4899841904927ea10cea7d7b036a5fdc2514
|
||||
EBUILD mattermost-5.10.1.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.11.0.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.12.0.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.12.0.ebuild 3829 BLAKE2B 916acbf4b0d8705c825908b55d2bd58291ef458accbd61a8c11a01660e47147c55e49be2eb9104da13b9f62d00250ebff51472806bc4b1fb07e45dd0af0f3fe1 SHA512 0a69053d8071d0d8597bfd89d65fa0a01902772293ff4db16b929639613faeae0b06140b547e58641c3effd536b4c8fc85def4e60ba4dcbf27cbaff3274d0194
|
||||
EBUILD mattermost-5.7.3.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.8.2.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.9.1.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@ -36,8 +36,7 @@ src_prepare() {
|
||||
# Enforce build hash to Arch Linux (Enterprise hash is already set to
|
||||
# none), instead of the official git hash value.
|
||||
sed -r -i "${S}/Makefile" \
|
||||
-e "s/^(\s*)BUILD_HASH(_ENTERPRISE)? =.*/\1BUILD_HASH\2 = Gentoo \(${CHOST}\)/" \
|
||||
-e 's/-X (.*)(\$\(BUILD_HASH(_ENTERPRISE)?\))(.*)/-X '\''\1\2'\''\4/'
|
||||
-e "s/^(\s*)BUILD_HASH(_ENTERPRISE)? =.*/\1BUILD_HASH\2 = Gentoo \(${CHOST}\)/"
|
||||
|
||||
# The configuration isn't available at this time yet, modify the default.
|
||||
sed -r -i "${S}/build/release.mk" \
|
||||
@ -73,6 +72,7 @@ src_compile() {
|
||||
export BUILD_NUMBER="${PVR}"
|
||||
export LANG=C
|
||||
export GOPATH="${WORKDIR}"
|
||||
export LDFLAGS=""
|
||||
|
||||
emake build-linux
|
||||
use build-client && emake build-client && emake package
|
||||
|
Loading…
Reference in New Issue
Block a user