From f19f6675a659ee57c2a9cd7787873118b2036379 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Sat, 8 Aug 2015 11:17:31 -0700 Subject: [PATCH] openjpeg: symlink libopenjpeg1.pc > libopenjpeg.pc Fixes Homebrew/homebrew#42450. Closes Homebrew/homebrew#42877. --- Formula/openjpeg.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/openjpeg.rb b/Formula/openjpeg.rb index 29eee019b2..9936a9e86b 100644 --- a/Formula/openjpeg.rb +++ b/Formula/openjpeg.rb @@ -4,6 +4,7 @@ class Openjpeg < Formula url "https://mirrors.kernel.org/debian/pool/main/o/openjpeg/openjpeg_1.5.2.orig.tar.gz" mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/o/openjpeg/openjpeg_1.5.2.orig.tar.gz" sha256 "aef498a293b4e75fa1ca8e367c3f32ed08e028d3557b069bf8584d0c1346026d" + revision 1 head "https://github.com/uclouvain/openjpeg.git", :branch => "openjpeg-1.5" @@ -22,6 +23,9 @@ class Openjpeg < Formula def install system "cmake", ".", *std_cmake_args system "make", "install" + + # https://github.com/uclouvain/openjpeg/issues/562 + (lib/"pkgconfig").install_symlink lib/"pkgconfig/libopenjpeg1.pc" => "libopenjpeg.pc" end test do