summaryrefslogtreecommitdiff
path: root/homebrew/masscan/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/masscan/.make.sh-auto')
-rw-r--r--homebrew/masscan/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/masscan/.make.sh-auto b/homebrew/masscan/.make.sh-auto
new file mode 100644
index 000000000..83d0493df
--- /dev/null
+++ b/homebrew/masscan/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+if MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0"
+inreplace "src/pixie-timer.c", "#elif defined(CLOCK_MONOTONIC)", "#elif defined(NOT_A_MACRO)"
+end
+make
+bin.install "bin/masscan"