summaryrefslogtreecommitdiff
path: root/Mk/Uses/meson.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Mk/Uses: Fix feature checks after my previous {WITH,WITHOUT}_*_PORTS ↵Mathieu Arnold2024-04-111-2/+2
| | | | | | change" This reverts commit 665b0219e541019b849fd5a1efdf032081dcf610.
* Mk/Uses: Fix feature checks after my previous {WITH,WITHOUT}_*_PORTS changeGleb Popov2024-04-111-2/+2
| | | | | | | | | | | | | | | Test Plan: Take cmake.mk for example. Choosing a port with USES=cmake and running `make -V CMAKE_BUILD_TYPE` gives "Release" and `make -V CMAKE_BUILD_TYPE WITH_DEBUG=yes` gives "Debug". However, `make -V CMAKE_BUILD_TYPE WITH_DEBUG_PORTS=this/port` still gives "Release" unless this change is applied. Differential Revision: https://reviews.freebsd.org/D44748 Fixes: d697653cffd19ddaf3cdee2589a830c72ab39777 Approved by: bapt
* Features/debuginfo.mk: Automatically generate a subpackage with debugging info.Gleb Popov2024-02-031-0/+2
| | | | | | | Differential Revision: https://reviews.freebsd.org/D43515 Tested by: flo Approved by: portmgr, emaste
* */*: Sanitize MANPREFIX for meson portsMuhammad Moinur Rahman2024-01-121-1/+0
| | | | Approved by: portmgr
* Mk/Uses/meson.mk: temporarily disable Python bytecode after 19804e371694Jan Beich2023-07-291-0/+3
| | | | | | | | | | | | | | | | | $ poudriere testport -j 131amd64 devel/blueprint-compiler [...] ====> Running Q/A tests (stage-qa) Error: 'lib/python3.9/site-packages/blueprintcompiler/language/__pycache__/gobject_property.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/blueprint-compiler/work/stage Error: 'lib/python3.9/site-packages/blueprintcompiler/language/__pycache__/gobject_object.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/blueprint-compiler/work/stage Error: 'lib/python3.9/site-packages/blueprintcompiler/language/__pycache__/adw_breakpoint.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/blueprint-compiler/work/stage [...] ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/ast_utils%%PYTHON_EXT_SUFFIX%%.pyc Error: Orphaned: %%PYTHON_SITELIBDIR%%/blueprintcompiler/__pycache__/completions%%PYTHON_EXT_SUFFIX%%.pyc [...] PR: 272276
* Mk/Uses/meson.mk: Disable predefined optimization level when buildtype is ↵Daniel Engberg2023-07-031-0/+1
| | | | | | | | | | | | | release Ports framework handles optimization levels so disable Meson's predefined optimization level Reference: https://mesonbuild.com/Builtin-options.html#details-for-buildtype PR: 272321 Reviewed by: jbeich
* Mk/Uses/meson.mk: add --auto-features=enabled to improve determinismJan Beich2023-04-011-0/+4
| | | | | | PR: 270361 Inspired by: Alpine, Arch, NixPkgs, OpenBSD, Void Exp-run by: antoine
* Mk/Uses/meson.mk: assign to desktop@ after 28bac6ebdd35Jan Beich2023-03-201-1/+1
|
* devel/meson: enable FLAVORsCharlie Li2023-03-111-1/+1
| | | | | | | | | Needed for devel/meson-python to function on non-default Python flavours/distributions, as meson is imported as a module. Existing USES=meson consumers not affected. Reported by: fluffy Differential Revision: https://reviews.freebsd.org/D39004
* framework: cleanup conditional-indentations in Mk/Tobias C. Berner2022-04-241-5/+5
| | | | | | | | | | | Run Tools/scripts/indent_make_if.pl on all of Mk. These white space changes contribute greatly to the readability of those files. As we have a version control system, finding out the reasons for the changes prior to these white space changes is still easily possible Differential Revision: https://reviews.freebsd.org/D35024 Reviewed by: portmgr (rene, bapt)
* Mk/Uses/meson.mk: Require meson with b_colorout fixTobias Kortkamp2021-07-031-1/+1
| | | | | | | | | | There have been multiple bug reports where people get compiler errors with regards to -Xclang -fno-color-diagnostics. This is caused by partial upgrades and outdated meson packages. For a better UX, change BUILD_DEPENDS to require a package version that fixes it. Fixes: ff2796d5bc837b0c6cb26791439c64f96fe1c090
* Mk/Uses/meson.mk: Do not force color output (D29353)Tobias Kortkamp2021-04-201-0/+5
| | | | | | | | | | | | | | By default Meson forces color output. Ninja strips the escape sequences before they go into the log. Samurai does not do that, so we end up with some garbage in the logs. Pass -Db_colorout=never to Meson to disable colors in general. Also see https://mesonbuild.com/Builtin-options.html This requires a small backport in devel/meson since the b_colorout option is broken with Clang at the moment. PR: 254678 Exp-run by: antoine
* framework: Remove $FreeBSD$Mathieu Arnold2021-04-061-2/+0
| | | | Where appropriate fiddle with a few other things.
* Clarify MESON_BUILD_DIR commentMateusz Piotrowski2019-02-261-2/+2
| | | | | | | | | | | | MESON_BUILD_DIR is relative to ${WRKSRC}. Update the comment in meson.mk accordingly. Reviewed by: kwm, mat Approved by: gnome (koobs, kwm), mat (mentor) Differential Revision: https://reviews.freebsd.org/D19270 Notes: svn path=/head/; revision=493957
* Mk/Uses/meson.mk: Fix missing $ in INFO_PATH variableKubilay Kocak2018-11-091-1/+1
| | | | | | | | | | | Add missing $ inadvertently committed in ports r484481 PR: 232633 Reported by: danfe (via ports-committers) Approved by: portmgr (blanket: just fix it) Notes: svn path=/head/; revision=484505
* Tell meson where we install info files.Koop Mast2018-11-081-1/+2
| | | | | | | | PR: 232633 Submitted by: Ting-Wei Lan <lantw44@gmail.com> Notes: svn path=/head/; revision=484481
* Set CONFIGURE_LOG so if the configure stage failsKoop Mast2017-06-131-0/+2
| | | | | | | | | CONFIGURE_FAIL_MESSAGE mentions the correct log file. Submitted by: swills@ Notes: svn path=/head/; revision=443540
* Fix a few lib/pkgconfig → libdata/pkgconfig that crept in between theMathieu Arnold2017-06-081-14/+0
| | | | | | | | | | exp-run and the commit. Reported by: antoine Sponsored by: Absolight Notes: svn path=/head/; revision=442907
* Move the meson generated pkg-config files to libdata/pkg-config, thisKoop Mast2017-05-131-0/+14
| | | | | | | | | | | | | makes ports build by meson respect the current policy regarding pkg-config files. I picked this solution over hacking meson itself, and potential breaking more. Bump graphics/graphene due to this change. Obtained from: Code copied from ports/218067 by mat@ Notes: svn path=/head/; revision=440761
* Introduce new "meson" USES.Koop Mast2017-04-171-0/+68
This uses will handling building software that uses the meson build system. Expand the option framework to handle MESON options. Approved by: portmgr (swills@) Differential Revision: https://reviews.freebsd.org/D104091 Notes: svn path=/head/; revision=438747