Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

atom: fix build on macOS 10.14 #2727

Merged
merged 1 commit into from Oct 8, 2018
Merged

Conversation

michaellass
Copy link
Contributor

Description

libstdc++ was removed in Mojave and we need to make sure that atom and its modules are built against libc++. We can do so by setting macOS 10.9 as minimum target in CFLAGS, CXXFLAGS and LDFLAGS.

While here, it may be a good idea to export these variables always with macports' default values.

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 10.14 18A391
Xcode 10.0 10A255

Verification

Have you

  • checked your Portfile with port lint?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?

libstdc++ was removed and we need to make sure that modules are built
against libc++. We can do so by setting macOS 10.9 as minimum target in
CFLAGS, CXXFLAGS and LDFLAGS.

While here, it may be a good idea to export these variables always with
macports' default values.

Fixes https://trac.macports.org/ticket/57243
@macportsbot
Copy link

Notifying maintainers:
@kurthindenburg for port atom.

@macportsbot
Copy link

Travis Build #3859 Errored.

Lint results
--->  Verifying Portfile for atom
--->  0 errors and 0 warnings found.

Port atom's dependencies fail on xcode9.4. Log
Port atom success on xcode7.3. Log
Port atom success on xcode10. Log

@pmetzger pmetzger merged commit 08c7fb6 into macports:master Oct 8, 2018
@pmetzger
Copy link
Member

pmetzger commented Oct 8, 2018

Merged! Thanks, @michaellass!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer: open Affects an openmaintainer port type: bugfix
4 participants