1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/Mk
John Baldwin 3708c41ab9 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 bsd.ssp.mk 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
  architecture.
- 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
  ends up using the CFLAGS when building native binaries for the build
  host which fails when tripping over the --sysroot.  I think this might
  have accidentally worked before because the powerpc64 headers in
  /usr/include/machine were "close enough" to the amd64 headers, but with
  32-bit MIPS this failed hard.
- Add the GCC MIPS patch from devel/powerpc64-gcc to base/gcc to add
  MIPS support to base/gcc.
- Add a MIPS plist for base/binutils.
- Set helper variables for the base/gcc plist to tag architecture-specific
  headers (e.g. for intrinsincs) and use these to tag powerpc and MIPS
  specific headers.
- Drop the include-fixed headers from base/gcc.
- Strip /usr/local/include from the default list of include paths for
  base/gcc.
- Use libc++'s include path for C++ for base/gcc.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D15267
2018-05-09 15:18:27 +00:00
..
Scripts Add PORTS_ENV_VARS caching support to USES=objc. 2018-03-13 21:43:28 +00:00
Uses Mk/Uses/php.mk: Drop support for WANT_ and USE_ PHP vars 2018-05-07 18:18:17 +00:00
bsd.ccache.mk WITH_CCACHE_BUILD: Fix some ports not using proper CCACHE_DIR. 2018-02-25 03:32:18 +00:00
bsd.commands.mk Remove debugging 2018-02-20 22:25:54 +00:00
bsd.default-versions.mk Note that samba 4.8 is supported and samba 4.4 no longer exists 2018-05-05 08:57:37 +00:00
bsd.destdir.mk
bsd.gcc.mk
bsd.gecko.mk www/firefox: update to 60.0 2018-05-01 00:51:37 +00:00
bsd.gstreamer.mk
bsd.java.mk Mk/bsd.java.mk: Strict JAVA_{VERSION,VENDOR,ERROR} validation 2017-11-04 01:16:31 +00:00
bsd.ldap.mk
bsd.licenses.db.mk Remove MPL (without version) license 2017-11-04 13:14:01 +00:00
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk
bsd.octave.mk - Try to correct a bunch of error messages reported by pkg-fallout@ on 2018-02-25 22:23:45 +00:00
bsd.options.desc.mk Add shared JPEG2000 description 2018-04-16 18:33:25 +00:00
bsd.options.mk * Add USE_GITLAB for fetching from www.gitlab.com and GitLab deployed sites. 2018-03-03 06:50:15 +00:00
bsd.port.mk Add 32-bit mips support to base/binutils and base/gcc. 2018-05-09 15:18:27 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Ensure .CURDIR contains an absolute path without a trailing slash. 2017-11-09 21:48:58 +00:00
bsd.qt.mk Fix permissions in installed Qt5 header files 2018-03-29 19:03:17 +00:00
bsd.ruby.mk Update to 2.4.4 2018-04-03 09:46:20 +00:00
bsd.sanity.mk Restore PHP _ALT variables removed in r469307 2018-05-08 20:12:44 +00:00
bsd.sdl.mk
bsd.sites.mk Update MASTER_SITE_CHEESESHOP 2018-04-17 19:14:58 +00:00
bsd.ssp.mk
bsd.tex.mk
bsd.wx.mk
bsd.xorg.mk