summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mk: Don't generate an empty apply-slist target.Mathieu Arnold2021-04-141-3/+1
|
* Mk: Run apply-slist earlier.Mathieu Arnold2021-04-141-2/+2
| | | | | This allows SUB_FILES generated files to be available earlier than staging, and use them during the build.
* Fix downloading of packages hosted on gitlab.Matthias Fechner2021-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | Gitlab changed the address beginning of April you can download packages from: curl https://gitlab.com/gitlab-org/gitlab-foss/repository/7efd19e3716ab6f9146052da76d1bd59ec815f2d/archive.tar.gz?dummy=/gitlab-org-gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d_GL0.tar.gz to: curl https://gitlab.com/gitlab-org/gitlab-foss/-/archive/7efd19e3716ab6f9146052da76d1bd59ec815f2d.tar.gz?dummy=/gitlab-org-gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d_GL0.tar.gz The new extracted archive will have a different folder name. Before it was: gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d-7efd19e3716ab6f9146052da76d1bd59ec815f2d now it is: gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d So all ports using gitlab must regen their distinfo. PR: 254866 MFH: 2021Q2 Differential Revision: https://reviews.freebsd.org/D29628
* Cleanup executable bits, prompted by 9e1d7c39a1fa.Mathieu Arnold2021-04-081-1/+1
|
* framework: Remove $FreeBSD$Mathieu Arnold2021-04-061-3/+0
| | | | Where appropriate fiddle with a few other things.
* Remove upgrade scriptBaptiste Daroussin2021-03-291-6/+0
| | | | | | | | | | | It never actually really have been a thing, and can be done directly in install/deinstall scripts Reviewed by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D29427 Notes: svn path=/head/; revision=569436
* Fix an obscure sed message while going through check-plist.Mathieu Arnold2021-03-221-3/+5
| | | | | | | | | | The obscure message being: sed: 4: /tmp/sed_plist_sub.1i0ZNBB8: RE error: trailing backslash (\) Thanks to: kevans Notes: svn path=/head/; revision=568966
* Don't use an escape sequence when you can use a character class.Mathieu Arnold2021-03-221-1/+1
| | | | | | | | Using an escape sequence is more likely to get munged at some point while going through from make to sh to sed. Notes: svn path=/head/; revision=568965
* Add the same WRKSRC warning for USE_GITLAB than for USE_GITHUB.Mathieu Arnold2021-03-191-1/+4
| | | | Notes: svn path=/head/; revision=568798
* Fix usage of USE_GITHUB, multiple downloads, and WRKSRC_SUBDIR.Mathieu Arnold2021-03-191-1/+1
| | | | | | | | PR: 246196 Submitted by: Sergei Vyshenski Notes: svn path=/head/; revision=568797
* update to 1.16.99.3:Baptiste Daroussin2021-03-171-2/+42
| | | | | | | | | | | | | | | | | | | | | | | | The main big change is the switch of the package extension to .pkg This is done so we can change compression format without having to modify the tools each time to adapt to the new extension While here adapt the ports tree to the new .pkg extension and prepare the pkg-devel ports to swicth the package compression format to zstd in FreeBSD 14 in a month to give time to upgrade to a version which have the bootstrap knowing about .pkg. Changes from 1.16.99.2 to 1.16.99.3 - lua update to 5.4.2 - pkg repo accept now all supported formats mixed without config - pkg now default on creating .pkg files with backward compatible symlinks - backward compatible symlinks are now an option - make the default comprpession format a config option - set the default compression level for zstd to 19 - make the default compression level a config option - Update libucl to latest version Notes: svn path=/head/; revision=568662
* Pass all env variable supported by dialog4ports toBaptiste Daroussin2021-02-261-1/+4
| | | | | | | | | | the customer script that will run dialog4ports PR: 253465 Submitted by: Olivier Certner <olivier.freebsd@free.fr> Notes: svn path=/head/; revision=566629
* Remove expired gstreamer 0.xBaptiste Daroussin2021-02-041-1/+1
| | | | | | | | gstreamer 1.x has been introduced long ago and gstreamer 0.x was kept to let time for applications to catchup on gstreamer 1.x Notes: svn path=/head/; revision=563995
* Mk/bsd.port.mk: Remove support for FreeBSD 12.1 which reached end-of-life today.Rene Ladan2021-02-011-3/+3
| | | | | | | MFH: 2021Q1 Notes: svn path=/head/; revision=563568
* Revert parts of r555738 which were probably not meant to be committedMateusz Piotrowski2020-11-201-3/+0
| | | | | | | | | PR: 248402 Reported by: Franco Fichtner <franco@opnsense.org> Approved by: portmgr blanket Notes: svn path=/head/; revision=555755
* Add education virtual categoryAdam Weinberger2020-11-201-5/+12
| | | | | | | | PR: 248402 Submitted by: PauAmma Notes: svn path=/head/; revision=555738
* Fix a typoMateusz Piotrowski2020-11-031-1/+1
| | | | | | | | Reported by: cy Approved by: portmgr blanket Notes: svn path=/head/; revision=553987
* Discourage users from using DO_NADAMateusz Piotrowski2020-11-031-0/+4
| | | | | | | | | | | | It should not be used to make targets do nothing. In such cases, it's most likely the ports infrastructure which requires fixing. Suggested by: bapt Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D27072 Notes: svn path=/head/; revision=553975
* Bump minimally supported FreeBSD version to 11.4Rene Ladan2020-10-171-1/+1
| | | | | | | Phabricator: D26646 Notes: svn path=/head/; revision=552579
* Mk/bsd.port.mk: Remove no-op USE_LIBRUBY variableKoichiro Iwao2020-10-111-1/+1
| | | | | | | | | PR: 238170 Submitted by: ak Approved by: portmgr (adamw) Notes: svn path=/head/; revision=552055
* Bump MINIMAL_PKG_VERSION to 1.15.9 after the @sample symlink fix.Emmanuel Vadot2020-10-041-1/+1
| | | | | | | Approved by: portmgr (bapt@ implicit pkg breakage) Notes: svn path=/head/; revision=551423
* Bump the minimal revision required for pkg, due to the fixes in pkg 1.15.8Baptiste Daroussin2020-10-021-1/+1
| | | | Notes: svn path=/head/; revision=551212
* Bump the minimal pkg version to 1.15.6Emmanuel Vadot2020-10-011-1/+1
| | | | | | | | | | | 1.15 introduced more lua scripts and keywords handling and we want to push that, so bump the minimal pkg version needed to 1.15.6 which is the latest release available. Approved by: portmgr (bapt@) Notes: svn path=/head/; revision=550858
* bsd.port.mk: clarify intended usage of REINPLACE_ARGSKyle Evans2020-09-301-1/+3
| | | | | | | | | | | | This is a follow-up to mat clearing out invalid usage in r550694 -- the intention is only for the -i flag to be specified, and the framework can and does rely on this at times. Discussed with: mat Approved by: portmgr (mat) Notes: svn path=/head/; revision=550700
* bsd.port.mk: Handle incorrect binary aliases gracefullyMateusz Piotrowski2020-09-281-1/+6
| | | | | | | | | | | | | | | | | | | | | Currently, if the src element of a BINARY_ALIAS pair is missing, the ports framework would just print out the help message of install(1) and exit with a failure. This might be hard to debug for novice ports users. Let's introduce a check, which would allow us to print that the src component is missing. This situation happens more often than it seems to. For example, BINARY_ALIAS tend to blow up when used for test dependencies, because binary aliases are created before test dependencies are installed. This leads to a lot of confusion for my experience. Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D26551 Notes: svn path=/head/; revision=550426
* Print the name of the problematic archive on failed extractionMateusz Piotrowski2020-09-271-0/+1
| | | | | | | | | | | | It is useful when working with a port with a large number of distfiles. In case one of them is failing to extract, the framework would print out its name to ease debugging. Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D25178 Notes: svn path=/head/; revision=550291
* Move script to a more appropriate location.Mathieu Arnold2020-08-031-1/+1
| | | | Notes: svn path=/head/; revision=544070
* A PLIST file is supposed to be self contained, reset owner/group/modeMathieu Arnold2020-06-251-0/+1
| | | | | | | | | after each. Differential Revision: https://reviews.freebsd.org/D25295 Notes: svn path=/head/; revision=540387
* Make sure rc files are owned by root:wheel with a sensible mode.Mathieu Arnold2020-06-251-1/+1
| | | | | | | | | PR: 246158 Reported by: Chad Jacob Milios Differential Revision: https://reviews.freebsd.org/D25295 Notes: svn path=/head/; revision=540386
* Add PATCH_CONTINUE_ON_FAIL to allow patching to go through all theMathieu Arnold2020-05-141-0/+1
| | | | | | | | | | | | | | patches even if one fail. This helps when upgrading ports with a large number of patches, like www/chromium where having to fix one patch, re-do the patching, fix the fallout, 800 times, is really painful. This fixes the first attempt at this which would make ports with multiple patches patching one file somewhat explode. Notes: svn path=/head/; revision=535241
* Allow lua scripts in the framworks.Baptiste Daroussin2020-04-291-1/+1
| | | | | | | | | | | | | | Bump the minimum required pkg version to a version that accepts properly lua scripts Lua script offers the advantages over shell scripts that they are running in a capsicum sandbox and they are natively rootdir friendly Reviewed by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D21433 Notes: svn path=/head/; revision=533337
* bsd.port.mk: fix comment typo and excess full-stop in IGNORE (FLAVORS)Matthias Andree2020-04-271-3/+3
| | | | | | | | | | | | This is to fix a cacche type to ccache in a comment, and the double full-stop on the console when trying to build an unsupported FLAVOR: ===> py27-example-9.8.7 Unknown flavor 'py27', possible flavors: py37.. Approved by: portmgr@ (bapt@, on reviews.f.o) Differential Revision: https://reviews.freebsd.org/D24588 Notes: svn path=/head/; revision=533130
* OVERLAYS: Include <overlay>/Mk/bsd.overlay.mkBryan Drewery2020-04-211-0/+6
| | | | | | | | Reviewed by: portmgr (mat, bapt) Differential Revision: https://reviews.freebsd.org/D24506 Notes: svn path=/head/; revision=532277
* Revert r532275Bryan Drewery2020-04-211-6/+0
| | | | Notes: svn path=/head/; revision=532276
* OVERLAYS: Include <overlay>/Mk/bsd.overlay.mkBryan Drewery2020-04-211-0/+6
| | | | | | | Reviewed by: portmgr (mat, bapt) Notes: svn path=/head/; revision=532275
* Fix install-missing-packages when port is missing multiple dependenciesMateusz Piotrowski2020-03-311-3/+2
| | | | | | | | | | | | | | | The current implementation of install-missing-packages does not handle correctly the situation when a port is missing multiple dependencies. pkg(8) would only get the first missing origin as an argument. All the other origins would be listed on new lines and would not be passed to pkg(8). PR: 244215 Discussed with: mat, tobik Approved by: portmgr (implicit, fix r525388) Differential Revision: https://reviews.freebsd.org/D23795 Notes: svn path=/head/; revision=529956
* 12.0 is not supported any more.Mathieu Arnold2020-03-021-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=527628
* Clarify description of OSREL/OSVERSION in bsd.ports.mk.Michael Gmelin2020-02-141-2/+4
| | | | | | | | PR: 244120 Approved by: portmgr (adamw) Notes: svn path=/head/; revision=526131
* Mk/bsd.port.mk: sort VALID_CATEGORIES, no functional changeRene Ladan2020-02-061-3/+3
| | | | | | | | | Submitted by: rene Approved by: portmgr (swills) Differential Revision: https://reviews.freebsd.org/D23545 Notes: svn path=/head/; revision=525453
* Improve implementation of install-missing-packagesMateusz Piotrowski2020-02-061-2/+3
| | | | | | | | | | | | | | | As suggested by mat@ in D23484, let's use a proper if statement here instead of short-circuits operators. Also, arguments to echo should be quoted and ECHO_CMD should be used instead of ECHO (see bsd.commands.mk for details). Reported by: mat Reviewed by: mat Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D23535 Notes: svn path=/head/; revision=525388
* Fix install-missing-packagesMateusz Piotrowski2020-02-041-2/+3
| | | | | | | | | | | | | | | | | | | | r519284 introduced a new target, install-missing-packages, which is meant to allow users to install dependencies via pkg(8) instead of building them themselves locally. The target was producing errors when the dependencies were already available on the system. This commit adjusts this behavior to just silently do nothing if everything is fine. Also, wrap the command with SU_CMD for better user experience. Also, fix some trailing whitespace introduced in the original commit. Reviewed by: bapt Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D23484 Notes: svn path=/head/; revision=525138
* Making REWARNFILE overridable was an artefact from testing.Mathieu Arnold2020-01-201-1/+1
| | | | | | | Fix that. Notes: svn path=/head/; revision=523641
* Add LOCALBASE/share/man to the valid path for manpagesBaptiste Daroussin2020-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also compress manpages in this location. As a followup of a discussion which occured in 2017: https://lists.freebsd.org/pipermail/freebsd-arch/2017-March/018115.html And following: https://svnweb.freebsd.org/base?view=revision&revision=315053 and https://svnweb.freebsd.org/base?view=revision&revision=315142 All the supported FreeBSD version now supports share/man in manpath for LOCALBASE As a result the ports tree can now accept it for manpage, but more over migrate to this new path. Resulting in more consistency now the manpages in base and ports would be in the relative path (under share/) and a reduced amount of patching needed to port something to FreeBSD Note1: this has already be done for GNU info pages earlier Note2: due to the fact that for end user no functionnality will change during the migration of the manpages to the new location and to avoid massive rebuild of packages, it has been decided to not bump portrevision when migrating. Reviewed by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D23166 Notes: svn path=/head/; revision=523104
* Add QA warning about useless REINPLACE_CMDSteve Wills2020-01-091-0/+7
| | | | | | | | | Reviewed by: mat, bdrewery, tobik Approved by: mat Differential Revision: https://reviews.freebsd.org/D22174 Notes: svn path=/head/; revision=522484
* Include the tool name for toolchain variables when using CROSS_TOOLCHAIN.John Baldwin2019-12-201-1/+1
| | | | | | | | | | | Previously variables such as AS, LD, etc. were only set to the path but not the tool itself due to a typo. Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D22593 Notes: svn path=/head/; revision=520455
* Add new Makefile target "install-missing-packages" to install missing ↵Lars Engels2019-12-081-1/+8
| | | | | | | | | | dependencies from packages. Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D22551 Notes: svn path=/head/; revision=519284
* Mk/bsd.port.mk: detect powerpc64 abiPiotr Kubaj2019-11-291-0/+10
| | | | | | | | | | | We'll have a new abi on ppc64 soon (ELFv2) which is incompatible with the ELFv1 abi. We need to detect the abi on which we build stuff. Submitted by: mikael_urankar@gmail.com Approved by: portmgr (earlier version) Differential Revision: https://reviews.freebsd.org/D22039 Notes: svn path=/head/; revision=518658
* Permit multiple packing list files to be listed in PLIST.John Baldwin2019-11-201-2/+4
| | | | | | | | | | | This permits a port to use separate packing lists for optional components instead of depending on PLIST_SUB. Approved by: portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D22450 Notes: svn path=/head/; revision=518058
* Clean up support for FreeBSD 11.2.Rene Ladan2019-11-071-8/+8
| | | | | | | | | | | | | | While here, modernize some comments in Mk/bsd.*.mk. Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat under discussion. Submitted by: rene Reviewed by: antoine, jbeich, mat, zeising Differential Revision: https://reviews.freebsd.org/D21974 Notes: svn path=/head/; revision=516983
* bsd.port.mk: update minimal supported version of FreeBSD to 11.3Rene Ladan2019-11-051-1/+1
| | | | | | | | | | Reviewed by: mat (and others) Approved by: portmgr (implicit) MFH: 2019Q4 Differential Revision: https://reviews.freebsd.org/D21974 Notes: svn path=/head/; revision=516838