From 7db2dfe36f96cc316dff88cf9a33c459b303f21a Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Sun, 9 Oct 2016 14:43:04 -0400 Subject: [PATCH] fpc: set MACOSX_DEPLOYMENT_TARGET to 10.9 Closes #5745. Signed-off-by: ilovezfs --- Formula/fpc.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Formula/fpc.rb b/Formula/fpc.rb index 6f0791ff65..7927b4e694 100644 --- a/Formula/fpc.rb +++ b/Formula/fpc.rb @@ -18,6 +18,11 @@ class Fpc < Formula end def install + # The bootstrap binary does not recognize anything above 10.9 + # http://bugs.freepascal.org/view.php?id=30711 + # https://github.com/Homebrew/homebrew-core/issues/5732 + ENV["MACOSX_DEPLOYMENT_TARGET"] = "10.9" + fpc_bootstrap = buildpath/"bootstrap" resource("bootstrap").stage { fpc_bootstrap.install Dir["*"] }