Browse files

dc3dd: fix compilation on >= Lion

  • Loading branch information...
mistydemeo committed Jul 30, 2013
1 parent 698ae17 commit cf66457104d02cb25b6ab8d03dac47001a33addd
Showing with 9 additions and 4 deletions.
  1. +9 −4 Formula/dc3dd.rb
@@ -11,10 +11,15 @@ class Dc3dd < Formula
def patches; DATA; end
def install
system "./configure", "--disable-debug",
args = %W[--disable-debug
# Check for stpncpy is broken, and the replacement fails to compile
# on Lion and newer; see
args << "gl_cv_func_stpncpy=yes" if MacOS.version >= :lion
system "./configure", *args
system "make"
system "make install"
prefix.install %w[Options_Reference.txt Sample_Commands.txt]

0 comments on commit cf66457

Please sign in to comment.