notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Two new features

Two two features were added on 2020-05-30:
  1. Repology links - each port now has a link to See issue 148 for details.
  2. Ports I maintain report - port maintainers can now subscribe to a daily report of commits to the ports they maintain. See Watch ports I maintain at Report Subscriptions. Details at issue 138
non port: base/gcc/Makefile

Number of commits found XX: 15

Sat, 21 Dec 2019
[ 01:13 jhb ] Original commit   Revision:520538
520538 base/gcc/Makefile
520538 base/gcc/pkg-plist
520538 base/gcc/pkg-plist.amd64
520538 base/gcc/pkg-plist.i386
520538 base/gcc/pkg-plist.mips
520538 base/gcc/pkg-plist.powerpc
Update base/gcc to work with devel/freebsd-gcc6.

- Explicitly set all the toolchain <foo>_FOR_TARGET variables.
  GCC's default guess for CC, etc. happened to work with the
  powerpc64-gcc port, but fails when the binaries have a suffix
  like the '6' suffix in freebsd-gcc6.  Setting these variables
  explicitly keeps GCC's build from having to guess.
- Pull patches from freebsd6-gcc instead of powerpc64-gcc.
- Use per-arch plists.
- Simplify the post-install steps to keep the hard links the
  normal install performs and avoid renaming binaries.
  Keep links to 'cc' and 'c++'.

Reviewed by:	bapt (earlier version)
Differential Revision:
Tue, 12 Mar 2019
[ 18:56 jhb ] Original commit   Revision:495519
495519 base/gcc/Makefile
Fix a cross-build regression in r493401.


Reported by:	Mark Millard
Approved by:	bapt (maintainer)
Differential Revision:
Wed, 20 Feb 2019
[ 00:50 jhb ] Original commit   Revision:493401
493401 base/gcc/Makefile
Permit base/gcc to be built as a native package.

- Handle building for an amd64 target which needs x86_64 in
  CONFIGURE_TARGET for similar reasons described in r475291.

Reviewed by:	bapt
Differential Revision:
Fri, 25 Jan 2019
[ 19:04 jhb ] Original commit   Revision:491173
491173 base/gcc/Makefile
491173 devel/powerpc64-gcc/Makefile
491173 devel/powerpc64-gcc/files/freebsd-libdir
Override the library search directories for external GCC toolchains.

The default library search directories when building a native GCC end
up falling back to /usr/local/lib (for devel/*-gcc) and /usr/lib (for
base/gcc) even when --sysroot is used.  For devel/*-gcc, I previously
forced CROSS_DIRECTORY_STRUCTURE on in r466699 to workaround this.
However, this solution could not be used for base/gcc.  Instead, patch
the sources to remove several of the library search directories and
override STARTFILE_PREFIX_SPEC to only look in /usr/lib.  GCC still
adds tuple-specific subdirs to /usr/lib, but this is ok.

Bump PORTREVISION for both the external GCC toolchains and base/gcc.

Reviewed by:	kan
Differential Revision:
Thu, 26 Jul 2018
[ 22:25 jhb ] Original commit   Revision:475401
475401 Mk/
475401 base/binutils/Makefile
475401 base/binutils/pkg-plist
475401 base/gcc/Makefile
475401 base/gcc/pkg-plist
Add support for amd64 and i386 to base/binutils and base/gcc.

- To support amd64, map amd64 to x86_64 when generating the --host argument
  to configure in and when generating --target arguments in port
- Add entries to the plists for i386 and amd64.  amd64 generally includes both
  amd64-specific entries as well as i386 entries.
- Don't include the builtin float.h for i386 and amd64.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Differential Revision:
Wed, 11 Jul 2018
[ 16:50 jhb ] Original commit   Revision:474469
474469 base/gcc/Makefile
474469 devel/powerpc64-gcc/Makefile
Enable .init_array and .fini_array with xtoolchain GCC.

For base/gcc, only enable .init_array and .fini_array for 12.0 and later
to match the policy used by clang and llvm.  For the xtoolchain ports,
enable these unconditionally since the only OS version handy is the OS
version of the build host, not the target OS to be built.  Unlike llvm,
the use of .init_array and .fini_array is set at compile-time for GCC
and can't be changed at runtime.

Bump PORTREVISION for base/gcc and the xtoolchain GCC ports.

Reviewed by:	bapt (earlier version)
Differential Revision:
Fri, 8 Jun 2018
[ 16:06 jhb ] Original commit   Revision:472012
472012 base/gcc/Makefile
Remove an unnecessary variable from CONFIGURE_ENV.

The default C++ header path is set via --with-gxx-include-dir instead.

Reviewed by:	bdrewery
Differential Revision:
Tue, 15 May 2018
[ 14:07 kan ] Original commit   Revision:470018
470018 base/gcc/Makefile
470018 base/gcc/distinfo
Upgrade base/gcc port to 6.4.0 to match xtoolchain

Reviewed by:	jhb, bapt
Wed, 9 May 2018
[ 15:18 jhb ] Original commit   Revision:469449
469449 Mk/
469449 base/binutils/Makefile
469449 base/binutils/pkg-plist.mips
469449 base/gcc/Makefile
469449 base/gcc/files/
469449 base/gcc/files/
469449 base/gcc/files/patch-gcc-configure
469449 base/gcc/pkg-plist
Add 32-bit mips support to base/binutils and base/gcc.

- When cross-building packages, set ARCH to the target arch instead of
  the arch of the build host.  This fixes on MIPS which was
  trying to enable SSP on MIPS cross-built packages because the host
  ARCH was amd64.  A new HOST_ARCH variable is added to set the
  --build triple for configure scripts, but I believe most other uses of
  ARCH in ports are really about the target, not the build host so this
  is the more correct general direction.
- Some updates to base/binutils and base/gcc to use ARCH as the target
- Drop the extra arguments to GCC to set include and library paths and
  only set --sysroot.
- Move the --sysroot flags into CC, CXX, CPP (which is now set to XCPP)
  and LD instead of passing it in CFLAGS, etc.  The base/gcc build uses
(Only the first 15 lines of the commit message are shown above View all of this commit message)
Tue, 6 Feb 2018
[ 14:32 swills ] Original commit   Revision:461058
461058 Mk/
461058 base/binutils/Makefile
461058 base/binutils/pkg-plist.powerpc64
461058 base/gcc/Makefile
461058 devel/binutils/Makefile
461058 devel/powerpc64-binutils/pkg-plist
461058 devel/powerpc64-gcc/Makefile
461058 devel/powerpc64-xtoolchain-gcc/Makefile
461058 devel/powerpc64-xtoolchain-gcc/files/
Fix cross build of base/ ports

This is a follow up to r461057 and fixes base/binutils and base/gcc in my

PR:		224217
Submitted by:	nwhitehorn (partially, I made additional changes)
Reviewed by:	bapt
[ 14:26 swills ] Original commit   Revision:461057
461057 Mk/
461057 base/gcc/Makefile
461057 base/gcc/distinfo
461057 base/gcc/pkg-plist
Changes from BZ PR 224217 plus minor changes to fix base/gcc fetch
Wed, 18 Jan 2017
[ 13:20 tijl ] Original commit   Revision:431796
431796 Mk/Scripts/
431796 Mk/Uses/
431796 Mk/Uses/
431796 Mk/
431796 Mk/
431796 archivers/libzip/Makefile
431796 audio/denemo/Makefile
431796 audio/libamrnb/Makefile
431796 audio/libamrwb/Makefile
431796 base/gcc/Makefile

(Only the first 10 of 120 ports in this commit are shown above. View all ports for this commit)
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
Fri, 21 Oct 2016
[ 12:51 mat ] Original commit   Revision:424411
424411 Makefile
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/Uses/
424411 Mk/

(Only the first 10 of 718 ports in this commit are shown above. View all ports for this commit)
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Thu, 8 Sep 2016
[ 21:44 bapt ] Original commit   Revision:421585
421585 base/gcc/Makefile
Remove things that are now handled by
[ 20:55 bapt ] Original commit   Revision:421581
421581 base/gcc
421581 base/gcc/Makefile
421581 base/gcc/distinfo
421581 base/gcc/files
421581 base/gcc/files/patch-configure
421581 base/gcc/pkg-descr
421581 base/gcc/pkg-plist
New cross build ready version of gcc.

This port is special, it is done only for being cross build and prepare a modern
compiler for base system build without a cross compiler

It contains the printf format extension needed for the kernel as only patch for

It uses libc++ from base as a standard c++ library default on the libc++ headers
as c++ headers

Number of commits found XX: 15

User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
giteaMay 31
powerdns-recursor*May 29
gitlab-ceMay 28
rubygem-kaminari-coreMay 28
sane-backendsMay 28
sympaMay 26
chromiumMay 24
piwigoMay 23
drupal7May 22
sympaMay 22
tomcat-develMay 22
tomcat7May 22
tomcat85May 22
tomcat9May 22
unboundMay 22

16 vulnerabilities affecting 89 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-05-31 11:54:41

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 39473
Broken 85
Deprecated 624
Ignore 330
Forbidden 5
Restricted 147
Vulnerable 23
Expired 17
Set to expire 574
Interactive 0
new 24 hours 5
new 48 hours10
new 7 days30
new fortnight75
new month184

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.