summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* eclass/cuda.eclass: Fix passing compiler and linker optionsMarius Brehler2017-01-031-1/+1
| | | | | | | As documented in 'nvcc --help', the correct syntax is: --compiler-options <options>,... (-Xcompiler) --linker-options <options>,... (-Xlinker) Closes: https://github.com/gentoo/gentoo/pull/3310
* cmake-utils.eclass: Set CMAKE_MIN_VERSION to 3.5.2Johannes Huber2017-01-011-2/+2
|
* mozconfig-v6.45.eclass: add libcanberra dependency, bug 458664Ian Stakenvicius2016-12-301-0/+2
|
* ruby-fakegem.eclass: fix documentationHans de Graaff2016-12-291-1/+1
|
* kernel-2.eclass: Point user to addtional kernel removal instructions. See ↵Mike Pagano2016-12-281-0/+3
| | | | bug #581522.
* apache-2.eclass: drop path to --with-ssl #516240Steven Newbury2016-12-281-1/+1
| | | | | | | | | | The apache configure script assumes that, if you passed in a path, that it's to a standalone install of openssl. It'll then go poking in that dir directly and possible add flags for building against it. This also breaks building/linking of other libraries, in both multilib and cross- compile setups. By dropping the path, we force apache to do the lookup via pkg-config.
* ruby-utils.eclass: update default RUBY_TARGETS orderingHans de Graaff2016-12-261-2/+2
| | | | Remove obsolete versions and promote ruby21 to the stable list.
* ruby-ng.eclass, ruby-utils.eclass: Add ruby24 supportHans de Graaff2016-12-262-1/+6
|
* kernel-2.eclass: Remove code that looks for Changelog which is also breaks ↵Mike Pagano2016-12-261-7/+0
| | | | PMS rules going above FILESDIR.
* kde-base/kdelibs -> kde-frameworks/kdelibsJohannes Huber2016-12-241-4/+4
|
* tmpfiles.eclass: fix call to tmpfiles for #603342William Hubbs2016-12-231-2/+2
|
* cmake-utils.eclass: Set CMAKE_MIN_VERSION to 3.2.2Johannes Huber2016-12-231-1/+1
|
* haskell-cabal.eclass: respect AR optionSergei Trofimovich2016-12-221-1/+4
| | | | | | | | | That allows us to build not-so-broken static libraries for LTO users. Tuhs usually have environment like: CFLAGS=-flto AR=${CHOST}-gcc-ar Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/linux-mod.eclass: Check for TRIM_UNUSED_KSYMS (bug #591832).Jeroen Roovers2016-12-221-1/+4
|
* depend.apache.eclass: Let APXS point to the new location of the binary.Lars Wendler2016-12-211-1/+1
|
* cuda.eclass: fix 'gcc-bindir -f' output to not use '=' in optsyderitic2016-12-201-3/+3
| | | | | | | | | | The '=' with the "" around the bindir are causing a "not a valid directory" error while compiling with cuda support. It now works as expected: with gcc-5.4.0 and cuda 7.5 NVCCFLAGS are set properly to gcc-4.9.x Closes: https://github.com/gentoo/gentoo/pull/3013
* cuda.eclass: fix g++ checksyderitic2016-12-201-1/+1
| | | | | | Currently the check against *g++* doesn't work, thus the NVCCFLAGS are never set accordingly. The check for gnu is now made through tc-is-gcc.
* scons-utils.eclass: Switch to get_nproc from multiprocessing.eclassMichał Górny2016-12-181-29/+5
|
* multiprocessing.eclass: Support passing custom inf values for gettersMichał Górny2016-12-183-9/+18
| | | | | | | | Support passing custom values for 'infinity' in makeopts_jobs() and makeopts_loadavg(). This can be used e.g. when a build system does not support --loadavg, and therefore '--jobs 999' would most likely be a really bad idea. Combined with get_nproc(), this can be used to provide a sane replacement instead.
* multiprocessing.eclass: Introduce get_nproc() to get no of CPUsMichał Górny2016-12-181-0/+32
| | | | | | | | | | Introduce get_nproc(), a portable 'nproc' wrapper. It uses either 'nproc' or a fallback Python multiprocessing module call to attempt to determine the number of available processing units. This can be used e.g. to determine a safe number of jobs to run when MAKEOPTS specifies unlimited --jobs and the build system in question does not support --load-average.
* multiprocessing.eclass: Fix handling multiple short options (e.g. -kj)Michał Górny2016-12-183-4/+10
| | | | | | | | Improve the regular expressions to handle parameters consisting of multiple short options (such as -kj). It should be noted that the code is not perfect but should handle all common (valid) cases; it could e.g. incorrectly process a short option followed by string arg such as '-Wfoo.j' although having this in MAKEOPTS is extremely unlikely.
* kde5.eclass: Fix configure with >=kde-apps/kde-l10n-16.12.0 L10N=srAndreas Sturmlechner2016-12-181-1/+3
| | | | | | | Upstream added a subdirectory that should not be added to the project. Closes: https://github.com/gentoo/gentoo/pull/3139 Signed-off-by: Johannes Huber <johu@gentoo.org>
* kde4-base.eclass: Add KDevelop 4.7.4 SRC_URIJohannes Huber2016-12-171-0/+1
|
* kernel-2.eclass: Remove kdbus support as it is discontinued. First reported ↵Mike Pagano2016-12-151-18/+0
| | | | in bug #576614 by jon R-B.
* linux-info.eclass: get_version: remove useless readlink -fMike Gilbert2016-12-151-2/+0
| | | | The values get clobbered immediately afterward, so why bother?
* eclass/freebsd.eclass: Changed to apply upstream patch on WORKDIRYuta Satoh2016-12-151-1/+7
|
* kernel-2.eclass: Add required @USAGE documentation to functions.Mike Pagano2016-12-141-4/+34
|
* qt5-build.eclass: fix doc handling in Qt 5.6.2 and laterJimi Huotari2016-12-151-2/+10
| | | | | | | | | The global_docs target is not needed any longer due to the following upstream change: http://code.qt.io/cgit/qt/qtbase.git/commit/?id=a7ddef139415f74f9ba8dc84a2f15105149ca5e8 Gentoo-Bug: https://bugs.gentoo.org/596054
* selinux-policy-2.eclass: support semodule -b/-i base depending on versionJason Zaman2016-12-121-6/+10
|
* selinux-policy-2.eclass: support EAPI6Jason Zaman2016-12-121-8/+10
|
* selinux-policy-2.eclass: eapply for EAPI6Jason Zaman2016-12-121-7/+20
|
* selinux-policy-2.eclass: tidy if syntaxJason Zaman2016-12-121-36/+23
|
* kde-base/kdebase-startkde -> kde-plasma/kdebase-startkdeJohannes Huber2016-12-111-1/+1
|
* depend.apache.eclass: Restructure pkg_setup so in_iuse is used from EAPI=6 onAndreas K. Hüttel2016-12-101-12/+19
|
* depend.apache.eclass: Add missing function want_apache2_4Andreas K. Hüttel2016-12-101-0/+17
|
* depend.apache.eclass: For EAPI=6, move initialization of APACHE_BASEDIR and ↵Andreas K. Hüttel2016-12-101-12/+25
| | | | APACHE_MODULESDIR into pkg_setup
* depend.apache.eclass: Replace build_with_use with has_version, disallow for ↵Doug Freed2016-12-101-3/+15
| | | | | | EAPIs without use dependencies There are no EAPI=0 / EAPI=1 ebuilds in the tree that are affected.
* kde-base/plasma-workspace -> kde-plasma/plasma-workspaceJohannes Huber2016-12-101-3/+3
|
* cmake-utils.eclass: Set assembly compiler & flags directlyMichał Górny2016-12-081-1/+4
| | | | | Set the assembly compiler and flags directly instead of implicitly forcing them in the build rule.
* cmake-utils.eclass: Split multi-arg CC/CXX/FC correctly, #542530Michał Górny2016-12-081-3/+10
| | | | | | | | | | | | | | | | Split multi-argument CC/CXX/FC into a CMake array consisting of one element containing the compiler path (name) and the other containing all command-line options, space-separated. This is how CMake splits the environment variables CC/CXX/FC internally. The alternative would be to set CC/CXX/FC directly, and let CMake handle the splitting. However, changing that had unforeseen consequences like assembler not being set correctly (#601292) which in turn was impossible to set via environment variables due to bugs in CMake. Therefore, splitting the values into CMAKE_*_COMPILER correctly seems the simplest and safest way forward, at least until we can rely on fixed CMake versions being sufficiently deployed.
* eclass/oasis.eclass: set prefix to ED instead of using the destdir option. ↵Alexis Ballier2016-12-071-4/+3
| | | | The latter doesnt work reliably with latest oasis versions.
* kernel-2.eclass: Convert eclass to use documentation standardsMike Pagano2016-12-041-109/+333
|
* qt5-build.eclass: drop support for Qt < 5.6Davide Pesavento2016-12-041-23/+9
|
* kernel-2.eclass: Minor cleanup. Remove die from global scope per EAPI 6 rules.Mike Pagano2016-12-021-3/+5
|
* Revert "mozconfig-v6.49.eclass: Make dependency on gtk+:2 optional (bug ↵Ian Stakenvicius2016-12-021-6/+2
| | | | | | | | #601326)." This reverts commit 00b1fa774f05e16d855dbf39e42d2eb6a7483ab7. At this time the gtk+:2 dependencies are still required.
* cmake-utils.eclass: Revert "export CC/CXX/FC to environment, #542530"Michał Górny2016-12-021-2/+3
| | | | | Revert using CC/CXX/FC envvars since it breaks implicit assembler override and is non-trivial to fix, #601292.
* cmake-utils.eclass: Revert "Set assembler correctly, #601292"Michał Górny2016-12-021-3/+1
| | | | | | Revert setting ASM=${CC}. It turns out that CMake is not splitting arguments in ASM like in CC, so this effectively broke all multilib builds.
* kernel-2.eclass: Fix eapply_user as per PMS spec and execute in src_prepare. ↵Mike Pagano2016-12-011-9/+26
| | | | Support older EAPIs with epatch_user.
* tmpfiles.eclass: fix 'if' statement syntaxMike Gilbert2016-12-011-1/+1
|
* cmake-utils.eclass: Unset BUILD_TYPE-specific ASM flagsMichał Górny2016-12-011-0/+1
|