aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/remind.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/remind.rb b/Library/Formula/remind.rb
index 976a770c5..6a3645efe 100644
--- a/Library/Formula/remind.rb
+++ b/Library/Formula/remind.rb
@@ -8,7 +8,10 @@ class Remind <Formula
def install
# Remove unnecessary sleeps when running on Apple
inreplace "configure", "sleep 1", "true"
- inreplace "src/init.c", "sleep(5);", ""
+ inreplace "src/init.c" do |s|
+ s.gsub! "sleep(5);", ""
+ s.gsub! /rkrphgvba\(.\);/, ""
+ end
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"