libzzip/zzuf conflict

This commit is contained in:
Adam Vandenberg 2013-11-12 21:00:03 -08:00
parent 9e7fef859e
commit 0d79698d50
2 changed files with 6 additions and 3 deletions

View file

@ -6,11 +6,12 @@ class Libzzip < Formula
sha1 'cf8b642abd9db618324a1b98cc71492a007cd687'
option 'sdl', 'Enable SDL usage and create SDL_rwops_zzip.pc'
option :universal
depends_on 'pkg-config' => :build
depends_on 'sdl' if build.include? 'sdl'
option :universal
conflicts_with 'zzuf', :because => 'both install `zzcat` binaries'
def install
if build.universal?
@ -27,7 +28,7 @@ class Libzzip < Formula
args << '--enable-sdl' if build.include? 'sdl'
system './configure', *args
system 'make install'
ENV.deparallelize # fails without this when a compressed file isn't ready.
system 'make check' # runing this after install bypasses DYLD issues.
ENV.deparallelize # fails without this when a compressed file isn't ready
system 'make check' # runing this after install bypasses DYLD issues
end
end

View file

@ -5,6 +5,8 @@ class Zzuf < Formula
url 'http://caca.zoy.org/files/zzuf/zzuf-0.13.tar.gz'
sha1 '19f904d63d045194885639c381a607ca86a319b5'
conflicts_with 'libzzip', :because => 'both install `zzcat` binaries'
def patches
# Fix OS X-specific bug in zzuf 0.13; see https://trac.macports.org/ticket/29157
# This has been fixed upstream and should be included in the next release.