app-office/libreoffice: Drop obsolete checks
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 24 Jun 2017 23:23:39 +0000 (01:23 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 25 Jun 2017 21:52:29 +0000 (23:52 +0200)
- <GCC-4.9 is masked
- <PostgreSQL-9.1 not in tree

Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-office/libreoffice/libreoffice-9999.ebuild

index ca3407b6f0102037c3252cb8e05f8ef9fa4622bd..5576dcd1146abc0a4a251e0c1b1846e1f79d437c 100644 (file)
@@ -271,23 +271,6 @@ pkg_pretend() {
                        CHECKREQS_DISK_BUILD="6G"
                fi
                check-reqs_pkg_pretend
-
-               if ! $(tc-is-clang) && { [[ $(gcc-major-version) -lt 4 ]] ||
-                               [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 7 ]]; } then
-                       eerror "Compilation with gcc older than 4.7 is not supported"
-                       die "Too old gcc found."
-               fi
-       fi
-
-       # Ensure pg version but we have to be sure the pg is installed (first
-       # install on clean system)
-       if use postgres && has_version dev-db/postgresql; then
-                local pgslot=$(postgresql-config show)
-                if [[ ${pgslot//.} -lt 90 ]] ; then
-                       eerror "PostgreSQL slot must be set to 9.0 or higher."
-                       eerror "    postgresql-config set 9.0"
-                       die "PostgreSQL slot is not set to 9.0 or higher."
-                fi
        fi
 }