Skip to content

Commit

Permalink
xorg-server*: Add workaround for older versions of base without macpo…
Browse files Browse the repository at this point in the history
…rts-clang-4.0 in Sierra's fallback list

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
  • Loading branch information
jeremyhu committed Jul 22, 2017
1 parent 55f4b14 commit 9fe6415
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions x11/xorg-server-devel/Portfile
Expand Up @@ -64,6 +64,14 @@ depends_lib \
# https://trac.macports.org/ticket/53910
compiler.blacklist gcc-4.0 macports-clang-3.8 macports-clang-3.9 macports-clang-devel {clang >= 802 < 900}

platform darwin {
if {${os.major} >= 16} {
# Remove this once a version of base is released that contains macports-clang-4.0 in the default fallback list
compiler.blacklist-append macports-clang-3.7
compiler.fallback-append macports-clang-4.0
}
}

configure.args --with-apple-applications-dir=${applications_dir} \
--with-bundle-id-prefix=org.macports \
--without-dtrace \
Expand Down
8 changes: 8 additions & 0 deletions x11/xorg-server/Portfile
Expand Up @@ -71,6 +71,14 @@ depends_lib \
# https://trac.macports.org/ticket/53910
compiler.blacklist gcc-4.0 macports-clang-3.8 macports-clang-3.9 macports-clang-devel {clang >= 802 < 900}

platform darwin {
if {${os.major} >= 16} {
# Remove this once a version of base is released that contains macports-clang-4.0 in the default fallback list
compiler.blacklist-append macports-clang-3.7
compiler.fallback-append macports-clang-4.0
}
}

configure.args --with-apple-applications-dir=${applications_dir} \
--with-bundle-id-prefix=org.macports \
--without-dtrace \
Expand Down

0 comments on commit 9fe6415

Please sign in to comment.