Skip to content

Commit

Permalink
Platypus: fix build on macOS 10.14 with Xcode 11
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed Nov 11, 2019
1 parent 659d73e commit 6655bf9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion aqua/Platypus/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,15 @@ pre-fetch {

supported_archs i386 x86_64

macosx_deployment_target 10.8
# Xcode 11 on macOS 10.14 fails to target 10.8. See:
# https://trac.macports.org/ticket/59651
if {${os.major} < 19 && [vercmp ${xcodeversion} 11] >= 0} {
macosx_deployment_target 10.10
notes "When ${name} is built on macOS 10.14 with Xcode 11+, the apps\
it produces are limited to running on OS X 10.10 and later (other environments can target 10.8 and later)."
} else {
macosx_deployment_target 10.8
}

xcode.target Platypus

Expand Down

0 comments on commit 6655bf9

Please sign in to comment.