diff options
Diffstat (limited to 'homebrew/zabbix/.make.sh-auto')
-rw-r--r-- | homebrew/zabbix/.make.sh-auto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/zabbix/.make.sh-auto b/homebrew/zabbix/.make.sh-auto new file mode 100644 index 000000000..605f99eb5 --- /dev/null +++ b/homebrew/zabbix/.make.sh-auto @@ -0,0 +1,8 @@ +pkg:setup +sdk = MacOS::CLT.installed? ? "" : MacOS.sdk_path +args = %W[--disable-dependency-tracking --prefix=#{prefix} --sysconfdir=#{etc}/zabbix --enable-agent --with-iconv=#{sdk}/usr --with-libpcre=#{Formula["pcre"].opt_prefix} --with-openssl=#{Formula["openssl"].opt_prefix} ] +if MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0" +inreplace "configure", "clock_gettime(CLOCK_REALTIME, &tp);", "undefinedgibberish(CLOCK_REALTIME, &tp);" +end +pkg:configure *args +make DESTDIR=${PKG_DEST} install |