546 Commits

Author SHA1 Message Date
Mike McQuaid
6aca5a6c6d
os/linux: add MacOS::CLT.version.
This allows formulae with this to be read on Linux.
2020-04-30 16:07:55 +01:00
Bo Anderson
a016d65424 os/mac/pkgconfig: add expat.pc 2020-04-27 14:10:44 +01:00
Bo Anderson
2c64eab710
Merge pull request #7442 from Bo98/ncurses-pc
os/mac/pkgconfig: add ncurses.pc & ncursesw.pc
2020-04-27 10:39:27 +01:00
Mike McQuaid
1a51b3e41b
Merge pull request #7443 from Bo98/libedit-pc
os/mac/pkgconfig: add libedit.pc
2020-04-27 08:41:04 +01:00
Bo Anderson
c7120f1cfb os/mac/pkgconfig: add libffi.pc 2020-04-26 23:26:16 +01:00
Bo Anderson
c49c21faa3 os/mac/pkgconfig: add libedit.pc 2020-04-26 22:10:20 +01:00
Bo Anderson
29c121be98 os/mac/pkgconfig: add ncurses.pc & ncursesw.pc 2020-04-26 21:38:44 +01:00
Bo Anderson
7aff6f9bb3 os/mac/xcode: support Xcode 11.4.1 2020-04-16 11:22:40 +01:00
Bo Anderson
d8b1c4ff1f os/mac/pkgconfig: delete most cflags on 10.14+ 2020-04-12 00:42:18 +01:00
Mike McQuaid
c3dc8862c1
os/mac/xcode: better document upgrade.
Explain when these various versions should (and should not) be bumped
and provide a method to avoid people having to schlep through the Apple
Developer site unless they really want to.

Also, while we're here, DRY things up and reorder to "newest first".
2020-04-09 14:27:39 +01:00
Bo Anderson
1fe0212ff2 os/mac: add sdk_root_needed? and sdk_for_formula 2020-04-07 17:22:13 +01:00
Bo Anderson
bb33a59c7b os/mac/sdk: add SDK source attribute 2020-04-07 16:43:32 +01:00
Mike McQuaid
147bca8ddd
Merge pull request #7298 from MikeMcQuaid/remove-old-pkgconfig
Remove old pkgconfig files.
2020-04-07 10:51:10 +01:00
Mike McQuaid
64fdf02f07
Merge pull request #7297 from Bo98/pc
os/mac/pkgconfig: supply default homebrew_sdkroot
2020-04-07 10:44:58 +01:00
Mike McQuaid
6cfd8065fc
Remove old pkgconfig files.
Homebrew no longer runs on these macOS versions.
2020-04-07 10:17:50 +01:00
Bo Anderson
56dc568fef os/mac/pkgconfig: supply default homebrew_sdkroot 2020-04-07 10:14:38 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Bo Anderson
9294bee866 shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
Fixes #5068.
2020-04-04 23:44:29 +01:00
Bo Anderson
94d6f361a4 os/mac/xcode: support Xcode 11.4 2020-03-26 22:03:54 +00:00
Dawid Dziurla
e097dcedb4
os/linux: implement sdk_path_if_needed 2020-03-10 16:24:17 +01:00
Bo Anderson
26f185b76f os/mac/xcode: only use SDK for system headers on >= Mojave 2020-03-08 20:32:35 +00:00
Bo Anderson
1f29f70929 os/mac: prefer CLT SDK over Xcode 2020-03-08 20:09:06 +00:00
Bo Anderson
20d9f436ca os/mac/sdk: prioritise SDK matching OS version 2020-03-08 20:08:33 +00:00
Mike McQuaid
ebc764e878
os/mac/xcode: clarify latest_version comes from clang. 2019-12-11 13:50:21 +00:00
Mike McQuaid
2d5f6dd79f
os/mac/xcode: improve CLT clang version detection. 2019-12-11 13:49:56 +00:00
Mike McQuaid
8d3e7cf028
os/mac: remove CLT header package stuff.
We never care about it and it's not relevant anywhere except 10.14.
2019-12-11 13:49:13 +00:00
Mike McQuaid
dda80c6938
os/mac/xcode: bump Xcode/CLT versions. 2019-12-11 13:48:32 +00:00
EricFromCanada
b817796562 Grammar fixes for status messages 2019-12-02 11:38:06 -05:00
EricFromCanada
9bfd597991 Format debug messages with odebug 2019-12-02 11:33:19 -05:00
Mike McQuaid
ea44760f8c
os/mac/xcode: add additional CLT download link.
Sadly Apple don't seem to be providing these reliably.

Fixes #6796
2019-12-02 13:25:43 +00:00
Grant Guthrie
178a4e55c2 Remove STANDARD_COMPILERS & references to it 2019-11-27 15:38:11 -05:00
Alexander Bayandin
43687b46c3 Bump Xcode to 11.2.1 2019-11-13 17:13:45 +00:00
Mike McQuaid
5595deaec6
os/mac: remove MacOS.cat.
None of the supported versions are "cats" any more.
2019-11-11 19:20:17 +00:00
Mike McQuaid
aae9d39939
os/mac/xcode: fallback to clang version for detecting CLT.
For some reason `pkgutil --pkgs` no longer lists the CLT after the
Catalina supplemental update.

Fixes https://github.com/Homebrew/brew/issues/6610
2019-10-16 16:26:57 +01:00
Issy Long
b87782ef7d
Auto-fix Style/UnpackFirst offenses 2019-10-13 16:04:34 +01:00
Mike McQuaid
29ab0ed571
Merge pull request #6500 from fxcoudert/catalina
os/mac: support Catalina, drop Sierra
2019-10-08 09:50:47 +01:00
Mike McQuaid
972b0aa17f
os/mac/xcode: bump Catalina Xcode versions. 2019-10-08 09:31:07 +01:00
Dawid Dziurla
8ff7601a92
define default prefix constants
also use them to detect if prefix line in bottle block is needed
2019-09-30 16:46:53 +02:00
FX Coudert
26ac1b6906 os/mac: support Catalina, drop Sierra 2019-09-28 10:39:57 +02:00
Mike McQuaid
47769f98f1
os/linux: add, use OS::Linux.os_version
Similar to MacOS.version. A bit cleaner for us here but also plan on
using this in Homebrew/homebrew-bundle.
2019-09-13 16:48:13 +01:00
Jonathan Chang
7ddc185b35 Fix various typos 2019-08-19 16:12:34 +10:00
Cheng XU
2c82623318
keg_relocate: relocate the interpreter for elf files with INTERP header (Linux)
Some elf files (e.g. created by rust compiler) have INTERP header despite
their magic header denotes shared object instead of executable.

We should relocate the interpreter elf files as long as they have INTERP header.

This should fix the broken bottles for rust based formulae.
2019-07-18 15:22:43 +08:00
Cheng XU
3ab93b6e2b
elf: fix caching of dynamic_elf? 2019-07-18 15:22:43 +08:00
Chongyu Zhu
80230eccf7
Merge pull request #6210 from lembacon/pkg-config-catalina
pkg-config: add initial support for macOS Catalina
2019-06-05 11:00:41 -07:00
Chongyu Zhu
629c319dc4
pkg-config: add initial support for macOS Catalina 2019-06-04 16:30:17 -07:00
Chongyu Zhu
2a5aee0a0b
xcode: add initial support for Xcode 11.0 2019-06-04 16:11:18 -07:00
Misty De Meo
1495cdbf8f macOS Catalina 2019-06-03 11:45:08 -07:00
Tom Schoonjans
36203dd1ef pkgconfig: add uuid.pc
The util-linux uuid library is provided by macOS, through its header at
/usr/include/uuid/uuid.h, and implementation included in libSystem.B.dylib
2019-05-12 07:43:23 +01:00
Mike McQuaid
01a3425502
Require Xcode 10.2 on macOS 10.14
Xcode >=10.2 is required to build all Swift formulae on macOS >=10.14.4.

Rather than requiring per-formula workarounds
(e.g. Homebrew/homebrew-core#39446) this provides a more stable platform
Homebrew can rely on for building Swift formulae.
2019-05-01 09:06:41 +01:00
Chongyu Zhu
aea2804442
xcode: upgrade for Xcode 10.2.1 release 2019-04-24 22:48:00 +08:00