summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* waf-utils.eclass: add parameters to compile and installktrace2018-10-091-5/+5
| | | | | Signed-off-by: Victor Kustov <ktrace@yandex.ru> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: filter out -Wextra -Wstack-protectorSergei Trofimovich2018-10-061-0/+2
| | | | | | | On gcc-3.x -Wextra -Wstack-protector were not yet present. These options are seen occasionally in users' CFLAGS. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* chromium-2.eclass: avoid eshopt functionsMike Gilbert2018-10-021-3/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* xdg-utils.eclass: support EAPI 7Mike Gilbert2018-10-021-2/+2
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* xdg-utils.eclass: avoid duplicate leading slashesMike Gilbert2018-10-021-4/+4
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* linux-info.eclass: CONFIG_LOCALVERSION for out of source buildsFrancesco Riosa2018-10-021-13/+13
| | | | | Closes: https://bugs.gentoo.org/662772 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: subscribe to virtual/libffi sub slotThomas Deutschmann2018-10-011-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: re-enable stylo for x86Thomas Deutschmann2018-10-011-3/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozcoreconf-v6.eclass: don't set ldflags lld doesn't supportThomas Deutschmann2018-09-301-2/+16
| | | | | Closes: https://bugs.gentoo.org/667224 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: disable elf-hack when USE=clangThomas Deutschmann2018-09-301-1/+4
| | | | | Bug: https://bugs.gentoo.org/667216 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: fix typo in CXXThomas Deutschmann2018-09-301-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* toolchain.eclass: pass CONFIG_SHELL to emake, bug #664486Sergei Trofimovich2018-09-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | Christian reports 'make install' failure caused by limitation of ancient autotools in detecting CONFIG_SHELL: ``` /bin/bash .../gcc-3.3.6/libstdc++-v3/../mkinstalldirs \ .../gcc-3.3.6-r2/image//usr/lib/../lib32 /bin/bash ../libtool --mode=install /bin/bash .../gcc-3.3.6/install-sh \ -c libsupc++.la .../gcc-3.3.6-r2/image//usr/lib/../lib32/libsupc++.la libtool: install: `.../gcc-3.3.6-r2/image//usr/lib/../lib32/libsupc++.la' \ is not a directory ``` We already pass CONFIG_SHELL to top-level ./configure. The workaround is to pass CONFIG_SHELL variable to 'make' as well. Reported-by: Christian Schmidt Fixed-by: Christian Schmidt Bug: https://bugs.gentoo.org/664486 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* cargo.eclass: restrict pretag pattern to allow extended versionsDirkjan Ochtman2018-09-291-1/+1
| | | | | | This is needed for openssl-src, which has a version like 110.0.7+1.1.0i. Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
* mozcoreconf-v6.eclass: PYTHON_COMPAT moved to ebuildThomas Deutschmann2018-09-281-3/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozcoreconf-v6.eclass: always define PYTHON_COMPATThomas Deutschmann2018-09-281-3/+0
| | | | | Closes: https://bugs.gentoo.org/667208 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* perl-module.eclass: replace search.cpan.orgAzamat H. Hackimov2018-09-281-2/+2
| | | | | | | | | | Replace search.cpan.org with metacpan.org since it is retired[1][2]. [1] https://www.perl.com/article/saying-goodbye-to-search-cpan-org/ [2] https://log.perl.org/2018/05/goodbye-search-dot-cpan-dot-org.html Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/9968
* multilib: mips64 is sometimes called mipsisa64Jason A. Donenfeld2018-09-281-0/+1
| | | | | | | This is the case for tuples like `mipsisa64r6-pc-linux-gnu`, which are required for making a working mips64r6 compiler. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* multilib: mips64 is sometimes called mipsisa64Jason A. Donenfeld2018-09-281-1/+1
| | | | | | | This is the case for tuples like `mipsisa64r6-pc-linux-gnu`, which are required for making a working mips64r6 compiler. Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
* toolchain-funcs.eclass: softfloat detection, bug #666896Sergei Trofimovich2018-09-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 921cb9c10de4d237924a61a1c27f914dfb479a64 "toolchain-funcs.eclass: Update tc-is-softfloat for new ARM tuples" changed autodetection of mst 'arm*' targets from from 'no' to 'yes'. It is incorrect at least for bare-metal targets that tend to pass their taget defaults. Bug #666896 is one example example command: # crossdev -s1 \ --env 'EXTRA_ECONF="--with-multilib-list=rmprofile"' \ arm-none-eabi rmprofile one of special cases for gcc as it explicitky does not myx with any arch-specific options and --with-float=soft breaks it: Error: You cannot use any of --with-arch/cpu/fpu/float/mode with --with-multilib-list=rmprofile The immediate fix is to restore initial autodetection for bare-metal targets. Reported-by: Eugene Bright Closes: https://bugs.gentoo.org/666896 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* mozconfig-v6.60.eclass: fix dev-db/sqlite dependencyThomas Deutschmann2018-09-271-1/+1
| | | | | Closes: https://bugs.gentoo.org/662858 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* www-client/firefox: make hard- and softfloat distinguishableThomas Deutschmann2018-09-271-1/+1
| | | | | | Reported-by: stefson <herrtimson@yahoo.de> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
* mozconfig-v6.60.eclass: disable elfhack on armThomas Deutschmann2018-09-271-0/+4
| | | | | Reported-by: stefson <herrtimson@yahoo.de> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: clang doesn't support thumb-interworkThomas Deutschmann2018-09-271-2/+6
| | | | | | Backport of commit 2d25811f80b28d70558fdfff1391a856fbffd47f. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: disable stylo for arm, renders gui unusableThomas Deutschmann2018-09-271-0/+3
| | | | | Reported-by: stefson <herrtimson@yahoo.de> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: add USE=clangThomas Deutschmann2018-09-271-5/+26
| | | | | | See commit 59c9e92b639712d4c37ece540582db83afdc8608 for details. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: backport rust and cargo dep fixThomas Deutschmann2018-09-271-9/+9
| | | | | | | Based on commit 8bdeaa7fceb519062fd2cc6517489c69c86d3016. Bug: https://bugs.gentoo.org/646078 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mozconfig-v6.60.eclass: Remove dead codeThomas Deutschmann2018-09-271-26/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* apache-2.eclass: Work around broken AC_ARG_ENABLE logic.Lars Wendler2018-09-271-1/+1
| | | | Bug: https://bugs.gentoo.org/667148
* udev.eclass: support EAPI 7Mike Gilbert2018-09-261-5/+9
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* apache2.eclass: Attempt to fix USE="suexec-caps"Lars Wendler2018-09-241-6/+9
| | | | Bug: https://bugs.gentoo.org/665742
* mozconfig-v6.60: remove obsolete sandbox detectionstefson2018-09-231-3/+0
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/9954 Closes: https://bugs.gentoo.org/663040 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* meson.eclass: add EAPI 7 supportMarty E. Plummer2018-09-231-4/+8
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* cuda.eclass: Add version and sandbox helper methodsJason Zaman2018-09-221-0/+42
| | | | | | | | cuda_toolkit_version returns the version of dev-util/nvidia-cuda-toolkit cuda_cudnn_version returns the version of dev-libs/cudnn cuda_add_sandbox adds the nvidia dev nodes to the sandbox Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* cuda.eclass: update to EAPI7, remove 0-4Jason Zaman2018-09-221-34/+47
| | | | | | | | | | | | | cuda.eclass is only used from EAPI5,6 currently so remove support for older EAPIs. Updating to EAPI7 means removing versionator. It was only used to sort the cuda versions. Instead first try the current GCC version, if that fails try best_version, if that still fails just pick the last in the list that works. They are already sorted and hopefully stay that way so version_sort is not required. Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* check-reqs.eclass: update to EAPI7Jason Zaman2018-09-221-2/+2
| | | | Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* linux-mod.eclass: fix use of variables for EAPI=7Thomas Deutschmann2018-09-211-8/+8
| | | | | | | | Since EAPI 7, variables like "D" no longer have a trailing slash. However, linux-mod_pkg_preinst relied on a traling slash. Due to that, any EAPI=7 ebuilds using linux-mod eclass to install kernel modules didn't run DEPMOD and weren't added to MODULESDB.
* font.eclass: Add EAPI guardian block, bug 666635Andreas K. Hüttel2018-09-201-0/+5
| | | | Bug: https://bugs.gentoo.org/666635
* enlightenment.eclass: last-riteJoonas Niilola2018-09-181-0/+6
| | | | | Bug: https://bugs.gentoo.org/666460 Closes: https://github.com/gentoo/gentoo/pull/9902
* python-utils-r1.eclass: Revert "Block also pythonX.Y in wrappers"Michał Górny2018-09-181-11/+1
| | | | | | | This turned out to be overzealous and broke calling external programs that were using different Python version. Reverts: 7f291f5759959bc338ca0b52b169871f0dccf9a9
* git-r3.eclass: Undocument deprecated EGIT_LIVE_* APIMichał Górny2018-09-181-8/+1
|
* git-r3.eclass: Print possible override vars for user convenienceMichał Górny2018-09-181-1/+11
|
* python-utils-r1.eclass: Block also pythonX.Y in wrappersMichał Górny2018-09-181-1/+11
| | | | | | | | | | | | Improve the wrapper blocking logic to block specific Python versions as well rather than just 2/3. In other words, for eselected pythonX.Y both pythonZ (Z = X^1) and python*.* (!= X.Y) will be blocked. Hopefully this will catch more build systems that hardcode Python versions rather than respecting what we're giving them. This will work only for build systems respecting PATH. Build systems (and ebuilds) using /usr/bin path directly will still be able to use other Python versions.
* scsh.eclass: remove last-rited eclassJoonas Niilola2018-09-171-77/+0
| | | | | Closes: https://bugs.gentoo.org/658284 Closes: https://github.com/gentoo/gentoo/pull/9841
* bsdmk.eclass: Add verbose output of bmake callsMichał Górny2018-09-171-2/+6
|
* toolchain.eclass: filter out -fdiagnostics-show-option on gcc-4.0 and olderSergei Trofimovich2018-09-161-0/+3
| | | | | | -fdiagnostics-show-option was added in gcc-4.1.0. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* cmake-utils.eclass: Move CMAKE_USER_MAKE_RULES_OVERRIDE to gentoo configAndreas Sturmlechner2018-09-161-1/+1
| | | | Closes: https://bugs.gentoo.org/631522
* eclass: libtool - Update to the latest stable elt-patchesBrian Evans2018-09-101-2/+2
| | | | | | As suggested by Chewi on the gentoo-dev ML Signed-off-by: Brian Evans <grknight@gentoo.org>
* eclass: autotools - Mark compatible EAPIs and introduce BDEPENDBrian Evans2018-09-101-1/+10
| | | | | | | | | | The autotools commands are run on the build host. As such, their packages needs to be in BDEPEND for EAPI 7. Also taking this opportunity to list compatible EAPIs to consider future adjustments. Signed-off-by: Brian Evans <grknight@gentoo.org>
* eclass: libtool - Mark compatible EAPIs and introduce BDEPENDBrian Evans2018-09-101-2/+7
| | | | | | | | The eltpatch command is run on the build host. As such, it needs to be in BDEPEND for EAPI 7. Also taking this opportunity to list compatible EAPIs to consider future adjustments.
* kde5-functions.eclass: Sync with kde overlayAndreas Sturmlechner2018-09-081-3/+7
| | | | | | QT_MINIMAL=5.11.1 default for kde-plasma/* ~arch FRAMEWORKS_MINIMAL=5.49.0 default for kde-apps/* ~arch Keep stable minimums to avoid metadata regeneration.