Skip to content

Commit

Permalink
plplot 5.13.0
Browse files Browse the repository at this point in the history
Closes #17257.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
tschoonj authored and ilovezfs committed Aug 26, 2017
1 parent e23b966 commit 3bb9d2e
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions Formula/plplot.rb
@@ -1,9 +1,8 @@
class Plplot < Formula
desc "Cross-platform software package for creating scientific plots"
homepage "https://plplot.sourceforge.io"
url "https://downloads.sourceforge.net/project/plplot/plplot/5.12.0%20Source/plplot-5.12.0.tar.gz"
sha256 "8dc5da5ef80e4e19993d4c3ef2a84a24cc0e44a5dade83201fca7160a6d352ce"
revision 1
url "https://downloads.sourceforge.net/project/plplot/plplot/5.13.0%20Source/plplot-5.13.0.tar.gz"
sha256 "ec36bbee8b03d9d1c98f8fd88f7dc3415560e559b53eb1aa991c2dcf61b25d2b"

bottle do
sha256 "aff26bde3a4da328de52e722694be91f598b63bae82b488e822aab7cdc0bce6a" => :sierra
Expand All @@ -21,10 +20,6 @@ class Plplot < Formula
depends_on :java => :optional
depends_on :x11 => :optional

# Patch reported upstream. Fixes 5.12 cmake issue in cmake/modules/pkg-config.cmake that gets
# triggered when passing `--with-fortran`
patch :DATA

def install
args = std_cmake_args + %w[
-DENABLE_ada=OFF
Expand Down Expand Up @@ -63,18 +58,3 @@ def install
system "./test"
end
end

__END__
diff --git i/cmake/modules/pkg-config.cmake w/cmake/modules/pkg-config.cmake
index 2b46dbe..7ecc789 100644
--- i/cmake/modules/pkg-config.cmake
+++ w/cmake/modules/pkg-config.cmake
@@ -230,7 +230,7 @@ function(pkg_config_link_flags link_flags_out link_flags_in)
"/System/Library/Frameworks/([^ ]*)\\.framework"
"-framework \\1"
link_flags
- ${link_flags}
+ "${link_flags}"
)
#message("(frameworks) link_flags = ${link_flags}")
endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")

0 comments on commit 3bb9d2e

Please sign in to comment.