This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

p11-kit 0.14

Closes #16908.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
Stefan authored and klausmeyer committed Jan 5, 2013
1 parent 2ba14b4 commit 72b1dcf3eb46e80dcc3c722f8e3ec0b4fe6b1776
Showing with 6 additions and 7 deletions.
  1. +6 −7 Library/Formula/p11-kit.rb
View
@@ -2,20 +2,19 @@
class P11Kit < Formula
homepage 'http://p11-glue.freedesktop.org'
- url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.13.tar.gz'
- sha256 '3cb942465efd5bde1c1875826118fe4bca45b0c9edc7c87835909a5866bed325'
-
- def patches
- # Upstream patch to fix duplicate symbol error
- "http://cgit.freedesktop.org/p11-glue/p11-kit/patch/?id=4a6a685c03bd"
- end
+ url 'http://p11-glue.freedesktop.org/releases/p11-kit-0.14.tar.gz'
+ sha256 '7a5e561b8b4c6e25ed7a89ef36c8127437c8f18bd86fe4cd41d899c5c7def6d3'
def install
ENV.universal_binary
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
+
+ # Bug workaround: https://bugs.freedesktop.org/show_bug.cgi?id=57714
+ mv 'tests/.libs/mock-one.so', 'tests/.libs/mock-one.dylib'
+
system "make check"
system "make install"
end

0 comments on commit 72b1dcf

Please sign in to comment.