Skip to content
Permalink
Browse files

multimarkdown: fix build on macOS 10.14

  • Loading branch information
amake authored and ryandesign committed Oct 1, 2018
1 parent 16fe94e commit a6a11cea6b03d62f13523c24e685f63b8139c086
Showing with 26 additions and 0 deletions.
  1. +1 −0 textproc/multimarkdown/Portfile
  2. +25 −0 textproc/multimarkdown/files/DeploymentTarget.patch
@@ -37,6 +37,7 @@ depends_lib-append port:curl
patchfiles-append AppleClang.patch
patchfiles-append PATH.patch
patchfiles-append which.patch
patchfiles-append DeploymentTarget.patch

# blacklist compilers that do not support C11
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
@@ -0,0 +1,25 @@
From b9dc75f0b90970b31249a53e81315e3ac5ff55c3 Mon Sep 17 00:00:00 2001
From: Aaron Madlon-Kay <aaron@madlon-kay.com>
Date: Mon, 1 Oct 2018 23:53:24 +0900
Subject: [PATCH] Remove hard-coded target of 10.4

---
CMakeLists.txt | 3 ---
1 file changed, 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a738a35..220b8c4 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -396,9 +396,6 @@ endif()
# OS X Builds
if (APPLE)

- # Configure backwards-compatible support (if your project allows it)
- SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.4" CACHE STRING "Deployment target for OSX" FORCE)
-
# Compile for x86_64 and i386. ppc no longer supported
if(CMAKE_BUILD_TYPE MATCHES "Release")
SET (CMAKE_OSX_ARCHITECTURES x86_64;i386)
--
2.19.0

0 comments on commit a6a11ce

Please sign in to comment.
You can’t perform that action at this time.