notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: Mk/Uses/compiler.mk

Number of commits found: 65

Sunday, 11 Sep 2022
11:34 Felix Palmen (zirias) search for other commits by this committer
Mk/Uses/compiler.mk: Support newer C++ standards

* Add c++20-lang and c++2b-lang arguments
* Respect LLVM_DEFAULT if it fullfills the requirements

PR:			244810, 266029
Exp-run by:		antoine
Approved by:		bapt, tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D35889
commit hash: 5ca22080ae08a6707bbcb9af0529e9d54aa832d5 commit hash: 5ca22080ae08a6707bbcb9af0529e9d54aa832d5 commit hash: 5ca22080ae08a6707bbcb9af0529e9d54aa832d5 commit hash: 5ca22080ae08a6707bbcb9af0529e9d54aa832d5 5ca2208
Thursday, 25 Aug 2022
21:35 Jan Beich (jbeich) search for other commits by this committer
Mk/Uses/compiler.mk: switch to -stdlib=libc++

GCC >= 11 supports -stdlib=libc++ (like Clang) which allows to
simplify USES=compiler:gcc-c++11-lib logic.

PR:		265964
Exp-run by:	antoine
commit hash: b00b217c0a952c904f8d7db405715f0dd6d1bfdb commit hash: b00b217c0a952c904f8d7db405715f0dd6d1bfdb commit hash: b00b217c0a952c904f8d7db405715f0dd6d1bfdb commit hash: b00b217c0a952c904f8d7db405715f0dd6d1bfdb b00b217
Sunday, 24 Apr 2022
10:00 Tobias C. Berner (tcberner) search for other commits by this committer
framework: cleanup conditional-indentations in Mk/

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)
commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 commit hash: aa2539679084872cd84112e9df6bfee571570623 aa25396
09:29 Rene Ladan (rene) search for other commits by this committer
Mk: release portmgr maintainership of most USES files

Differential Revision: https://reviews.freebsd.org/D34936

Reviewed by:	desktop (tcberner), portmgr (tcberner), ruby (yasu), tijl
commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 commit hash: 767d81e1296a49573aaa24dfc9677f801fddc6d4 767d81e
Friday, 15 Oct 2021
18:56 Gerald Pfeifer (gerald) search for other commits by this committer
Mk/Uses/compiler.mk: Avoid USE_GCC=any

USE_GCC=any is gone, replace it by USE_GCC=yes which has been equivalent
for a while now.

Approved by:	portmgr (antoine)
commit hash: 80847668cfbae6008bdef17bae8684fcc3b5d717 commit hash: 80847668cfbae6008bdef17bae8684fcc3b5d717 commit hash: 80847668cfbae6008bdef17bae8684fcc3b5d717 commit hash: 80847668cfbae6008bdef17bae8684fcc3b5d717 8084766
Sunday, 3 Oct 2021
17:47 Fernando ApesteguĂ­a (fernape) search for other commits by this committer
*/*: Remove compiler:openmp from Mk/Uses/compiler.mk

The option implied a dependency on gcc but clang got openmp support long ago.

Remove compiler:openmp from Mk/Uses/compiler.mk

For ports using USE=compiler:openmp, just remove it and make them build with
clang.
Fix conditionals when necessary
Bump PORTREVISION where appropriate

If problem arises, they can be addressed by using USE_GCC=yes

An update to the Porter's Handbook will follow.

Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D31971
commit hash: 07fb2d5e9d001934f1670d01aec1f536f14ebde2 commit hash: 07fb2d5e9d001934f1670d01aec1f536f14ebde2 commit hash: 07fb2d5e9d001934f1670d01aec1f536f14ebde2 commit hash: 07fb2d5e9d001934f1670d01aec1f536f14ebde2 07fb2d5
Tuesday, 6 Apr 2021
14:27 Mathieu Arnold (mat) search for other commits by this committer
framework: Remove $FreeBSD$

Where appropriate fiddle with a few other things.
commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 commit hash: 5d33e045968104ac678d8b4b4ec1e8956bbf68e0 5d33e04
Thursday, 21 Jan 2021
17:47 jrm search for other commits by this committer
compiler.mk: Update clang dependency to v10; clean up duplication

PR:		252627
Approved by:	brooks, portmgr (swills)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D28120
Original commitRevision:562226 
Friday, 13 Mar 2020
21:46 jkim search for other commits by this committer
Support compiler version >= 10 (again).

PR:		244781
Approved by:	portmgr (antoine)
Original commitRevision:528379 
19:50 antoine search for other commits by this committer
Revert r528363, it's broken for llvm < 10

With hat:	portmgr
Original commitRevision:528374 
16:41 jkim search for other commits by this committer
Support compiler version >= 10.

PR:		244781
Approved by:	portmgr (antoine)
Original commitRevision:528363 
Sunday, 23 Dec 2018
12:01 antoine search for other commits by this committer
All supported versions of FreeBSD that install clang have version 6.0.0 or
newer

With hat:	portmgr
Original commitRevision:488201 
Monday, 11 Jun 2018
12:39 antoine search for other commits by this committer
Add support for USES=compiler:c++17-lang

PR:		222415
Submitted by:	Naram Qashat
With hat:	portmgr
Original commitRevision:472188 
Friday, 27 Apr 2018
23:14 jbeich search for other commits by this committer
Update USES=compiler:c++14-lang to Clang 6.0 on FreeBSD 10

PR:		227679
Exp-run by:	antoine (only 10.4)
Original commitRevision:468505 
Friday, 16 Mar 2018
19:31 bdrewery search for other commits by this committer
Don't add 'yes' onto the end of errored std output lookups.
Original commitRevision:464725 
Wednesday, 14 Mar 2018
23:21 bdrewery search for other commits by this committer
PORTS_ENV: Reorder CC hash and std hash so CC's comes first.

This is only a cosmetic change.

Approved by:	portmgr (implicit)
Original commitRevision:464540 
23:10 bdrewery search for other commits by this committer
PORTS_ENV: Rename OUTPUT_* to CC_OUTPUT_* to be more clearly related to
compiler.mk.

This is purely a cosmetic change.

Approved by:	portmgr (implicit)
Original commitRevision:464538 
Wednesday, 28 Feb 2018
19:34 bdrewery search for other commits by this committer
Add compiler.mk to PORTS_ENV.

This only handles the default CC=cc but is enough to significantly improve
INDEX/Poudriere ports var gathering due to reducing around a dozen cc
fork+exec for every port that all have the same result.  These values
are reused during the port build as well which reduces more fork+exec
contention there.

Approved by:	portmgr (implicit)
Original commitRevision:463259 
Tuesday, 6 Feb 2018
13:30 bapt search for other commits by this committer
Replace llvm 3.4 by llvm 5.0, as a choice for people who enforce clang
by default everywhere

This code would actually needs to be probably cleaned up, but that would be
for later
Original commitRevision:461046 
Wednesday, 27 Dec 2017
10:41 jbeich search for other commits by this committer
Update USES=compiler:c++14-lang to Clang 5.0 on FreeBSD 10

PR:		224591
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Original commitRevision:457360 
Tuesday, 12 Sep 2017
20:43 gerald search for other commits by this committer
Replace USE_GCC=5+ by USE_GCC=yes in the case of USES=compiler:c++14-lang.

When this was added by r392084 on 2015-07-14, the default flavor of GCC
was GCC 4.8 and explicitly requesting GCC 5 (or later) was necessary for
C++ 14 support.  Now that the default version of GCC is GCC 6, after GCC 5
for several months, we can use the preferred notion of USE_GCC=yes instead
of specifying a concrete minimum version.

Among others this helps with cases where GCC 6 is better adjusted for
FreeBSD, notably the well known std::to_string issue (where that is only
enabled with GCC 6 or later).

PR:		222268
Approved by:	portmgr (antoine)
MFH:		2017Q3
Original commitRevision:449716 
Sunday, 30 Apr 2017
11:57 bapt search for other commits by this committer
Use llvm 4.0 for c++14

exp-run:	antoine
Reviewed by:	antoine, swills
Approved by:	swills
Differential Revision:	https://reviews.freebsd.org/D10228
Original commitRevision:439804 
Wednesday, 26 Apr 2017
19:04 ak search for other commits by this committer
- Remove checks for .PARSEDIR and vestiges of pmake support

PR:	218832
Approved by:	portmgr (antoine)
Original commitRevision:439485 
Tuesday, 3 Jan 2017
07:24 rene search for other commits by this committer
Remove support for FreeBSD < 10.3 from Mk/*

This does not yet convert the files to bmake.

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D9016
Original commitRevision:430441 
Friday, 16 Dec 2016
05:08 jbeich search for other commits by this committer
Switch USES=compiler:gcc-c++11-lib to use base libc++ on 10.2+ systems

PR:		215192
Requested by:	dim
Exp-run by:	antoine
Approved by:	antoine
Original commitRevision:428641 
Saturday, 12 Nov 2016
17:42 antoine search for other commits by this committer
All supported versions of FreeBSD that install clang have version 3.4.1 or
newer,  so remove obsolete checks in compiler.mk and objc.mk

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8496
Original commitRevision:425969 
Sunday, 27 Mar 2016
01:23 bapt search for other commits by this committer
Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
Original commitRevision:411970 
Thursday, 14 Jan 2016
18:54 antoine search for other commits by this committer
Extend r405599 to make COMPILER_VERSION and ALT_COMPILER_VERSION more
compatible with clang 3.8 trunk

PR:		206074
With hat:	portmgr
Original commitRevision:406126 
Friday, 8 Jan 2016
23:41 bdrewery search for other commits by this committer
Make COMPILER_VERSION more compatible with clang 3.8 trunk.

"clang version 3.8.0 (trunk 256945) (based on LLVM 3.8.0svn)" was giving
"38 38" was a result.  Now duplicates for fmake are trimmed and only the first
version found is used for bmake using its :tW.

With hat:	portmgr
In collaboration with:	dim
Original commitRevision:405599 
Thursday, 15 Oct 2015
14:55 mat search for other commits by this committer
Drop 8 support.

With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3694
Original commitRevision:399346 
07:36 bapt search for other commits by this committer
Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched

This gives more time for tools to get updated, available in packages etc before
bothering users
Original commitRevision:399326 
Wednesday, 14 Oct 2015
16:49 bapt search for other commits by this committer
Drop the necessity to add ${PORTSDIR} to dependency line

Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
Original commitRevision:399278 
Saturday, 8 Aug 2015
21:38 brd search for other commits by this committer
Bump the version of clang to 3.6 when c++14-lang is specified

Discussed with:	brooks
Approved by:	bdrewery (mentor)
Original commitRevision:393748 
Tuesday, 14 Jul 2015
20:32 brd search for other commits by this committer
Add support for USES= compiler:c++14

PR:		201076
Approved by:	bapt, bdrewery (mentor)
Original commitRevision:392084 
Sunday, 28 Dec 2014
21:46 antoine search for other commits by this committer
Set CHOSEN_COMPILER_TYPE for USES=compiler:gcc-c++11-lib

PR:		ports/196111
Submitted by:	Jan Beich
With hat:	portmgr
Original commitRevision:375758 
Friday, 21 Nov 2014
17:22 antoine search for other commits by this committer
Enforce clang 3.4 in USES=c*11*,objc,gnustep as clang 3.3 has some bugs

Requested by:	bapt
PR:		ports/195122
Differential Revision:	https://reviews.freebsd.org/D1181
Exp-run by:	self
With hat:	portmgr
Original commitRevision:373004 
Saturday, 18 Oct 2014
18:13 antoine search for other commits by this committer
Switch from clang33 to clang34 for ports using compiler:*11*, objc or
gnustep on freebsd 8.4 and 9.1

PR:		ports/193555
Differential Revision:	https://reviews.freebsd.org/D935
Reviewed by:	bapt
Exp-run:	self
Original commitRevision:371153 
Sunday, 28 Sep 2014
16:36 tijl search for other commits by this committer
Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Original commitRevision:369465 
Sunday, 29 Jun 2014
20:35 nwhitehorn search for other commits by this committer
Avoid using clang as a fallback compiler on Tier-2 systems for C++0x
or C11 features on platforms where it is not known to work.
Original commitRevision:359791 
Friday, 27 Jun 2014
03:23 bdrewery search for other commits by this committer
- Fix logic from r359424 to not always apply - only apply on tier2 archs.

With hat:	portmgr
Original commitRevision:359440 
Thursday, 26 Jun 2014
22:16 nwhitehorn search for other commits by this committer
On some Tier-2 platforms (e.g. PowerPC), clang kind of works and so is
installed but is not cc. On such platforms, clang is usually not default
for a reason and so using it for C++11 is unwise. Instead, fall back to
newer GCC. On i386 and amd64, clang works even if it isn't the default,
so continue using it there.

This fixes the build for Boost, among other software, on PowerPC.

Approved by:	bapt
Original commitRevision:359424 
Tuesday, 8 Apr 2014
15:16 bapt search for other commits by this committer
Add compiler:gcc-c++11-lib to instrument gcc linking with libc++ on system where
default stl is libc++
Original commitRevision:350623 
Saturday, 15 Mar 2014
10:31 gerald search for other commits by this committer
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
Original commitRevision:348308 
Wednesday, 12 Mar 2014
17:45 bapt search for other commits by this committer
Now that default gcc is 4.7 switch back to USE_GCC=yes where appropriate
Original commitRevision:347992 
Friday, 10 Jan 2014
22:09 rene search for other commits by this committer
Mention the new c++0x argument.

Approved by:	portmgr (bdrewery)
Original commitRevision:339386 
Thursday, 9 Jan 2014
07:10 bapt search for other commits by this committer
Fix test
Original commitRevision:339202 
06:56 bapt search for other commits by this committer
Make gcc 4.6 is sufficient for c++0x
Original commitRevision:339200 
06:55 bapt search for other commits by this committer
Allow to choose clang from base on 9.2 when looking for a C11 compiler
Add compiler:c++0x modeled over compiler:c++11-lang [1]

Requested by:	delphij [1]
Original commitRevision:339199 
Sunday, 15 Dec 2013
23:45 rene search for other commits by this committer
Spell out "nestedfct"

Approved by:	portmgr (bapt)
Original commitRevision:336597 
23:22 rene search for other commits by this committer
Mention nestedfct parameter.

Perform some language fixes while here.

Approved by:	portmgr (bapt)
Original commitRevision:336594 
Friday, 13 Dec 2013
14:14 bapt search for other commits by this committer
Add compiler:nestedfct which will automatically probe USE_GCC=any
Original commitRevision:336347 
Wednesday, 20 Nov 2013
21:48 bapt search for other commits by this committer
Fix a typo

Reported by:	Rainer Hurling <rhurlin@gwdg.de>
Original commitRevision:334460 
21:47 bapt search for other commits by this committer
Swap compiler.mk to use gcc 4.7 when requesting a C++11/C11 compiler and clang
does not fit or the user explicitly want GCC.
Original commitRevision:334459 
12:41 bapt search for other commits by this committer
Add CHOSEN_COMPILER_TYPE which can be clang or gcc

It value correspond to the type of compiler chosen by the famework depending on
the options

Requested by:	rene
Original commitRevision:334410 
Friday, 15 Nov 2013
22:25 bapt search for other commits by this committer
Make sure clang uses ports ld on FreeBSD 8
Original commitRevision:333945 
Tuesday, 12 Nov 2013
09:25 bapt search for other commits by this committer
On FreeBSD 8 clang will need a newer version of binutils.

Reported by:	dbn
Original commitRevision:333554 
Thursday, 7 Nov 2013
17:35 bapt search for other commits by this committer
Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the
alternative compiler

Requested by:	many
Original commitRevision:333142 
Thursday, 17 Oct 2013
09:50 rene search for other commits by this committer
Document "openmp" as a valid argument.

Approved by:	portmgr (bapt)
Original commitRevision:330622 
Monday, 14 Oct 2013
16:46 marino search for other commits by this committer
Mk/Uses/compiler.mk: Ensure COMPILER_TYPE can only be clang or gcc

The compiler.mk comments and code state that COMPILER_TYPE can only be
of the value "clang" or "gcc".  However, the code that determines this
allows for a possible undefined third state (empty string).  BMake
will emit a lot of errors about badly formatted conditionals if
COMPILER_TYPE is empty.

Since, by definition, if the COMPILER_TYPE is not clang, it must be
gcc, so skip the conditional gcc check and just set it.  The entire
file must be updated if support for additional compilers is desired.

This bug was discovered because the gcc detection code failed to
identify the DragonFly base compiler (GCC 4.7.3) as gcc.

Approved by:	portmgr (bapt)
Original commitRevision:330336 
Saturday, 12 Oct 2013
05:42 bapt search for other commits by this committer
Always use a recent version of gcc in case a port needs openmp support

Submitted by:	gerald
Original commitRevision:330120 
Wednesday, 9 Oct 2013
05:52 bapt search for other commits by this committer
Add a new argument openmp to make sure that only gcc is used (for now) is the
port requires openmp

Requested by:	brooks
Original commitRevision:329860 
05:45 bapt search for other commits by this committer
Really really commit the right version

Pointyhat to:	bapt
Original commitRevision:329859 
00:46 bdrewery search for other commits by this committer
Revert r329829 to restore compiler.mk
Original commitRevision:329852 
Tuesday, 8 Oct 2013
19:41 bapt search for other commits by this committer
Actually commit the right version
Original commitRevision:329829 
18:55 bapt search for other commits by this committer
New USES=compiler

Supported arguments are:
  - c++11-lang: the port needs a c++11 aware compiler what ever standard
  library it uses, implies features
  - c++11-lib: the port needs a c++11 standard library, implies features
  - c11: the ports needs a c11 aware compiler implies features
  - features: this will create a COMPILER_FEATURES variable which contains
  the list of features ${CC} do support, implies env.
  - env: the COMPILER_TYPE will be set to either gcc or clang.

  By default the uses will try to use clang33 from ports when nothing in
  base is relevant except if the user explicitly defines
  FAVORITE_COMPILER=gcc in his make.conf

Please note that testing tinderbox prior to version: 4.0.1_1 is not able to
properly figure out the dependencies implied by this USES.
Original commitRevision:329823 

Number of commits found: 65