summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-05-05 21:58:37 -0700
committerZac Medico <zmedico@gentoo.org>2017-05-05 21:58:37 -0700
commitc42dfe87f7283c613e37b0047bcea4a0b97c8654 (patch)
treef35037f01d9c01c24d8f5dc3b754251574a8604c /dev-db
parentdev-ruby/protected_attributes: add 1.1.4 (diff)
downloadgentoo-c42dfe87f7283c613e37b0047bcea4a0b97c8654.tar.gz
gentoo-c42dfe87f7283c613e37b0047bcea4a0b97c8654.tar.bz2
gentoo-c42dfe87f7283c613e37b0047bcea4a0b97c8654.zip
dev-db/cockroach: check MERGE_TYPE in pkg_pretend
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/cockroach/cockroach-1.0_rc1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-db/cockroach/cockroach-1.0_rc1.ebuild b/dev-db/cockroach/cockroach-1.0_rc1.ebuild
index 18467a3c8a66..13058028014e 100644
--- a/dev-db/cockroach/cockroach-1.0_rc1.ebuild
+++ b/dev-db/cockroach/cockroach-1.0_rc1.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/cockroach-${MY_PV}"
pkg_pretend() {
check-reqs_pkg_pretend
- if [[ $(gcc-major-version) -lt 6 ]]; then
+ if [[ ${MERGE_TYPE} != binary && $(gcc-major-version) -lt 6 ]]; then
eerror "Cockroach cannot be built with this version of gcc."
eerror "You need at least gcc-6.0"
die "Your C compiler is too old for this package."