diff options
Diffstat (limited to 'homebrew/dnsdist/.make.sh-auto')
-rw-r--r-- | homebrew/dnsdist/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/dnsdist/.make.sh-auto b/homebrew/dnsdist/.make.sh-auto new file mode 100644 index 000000000..eebf6c6ea --- /dev/null +++ b/homebrew/dnsdist/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +ENV["SDKROOT"] = MacOS.sdk_path if MacOS.version == :sierra +if MacOS.version == :high_sierra +sdk = MacOS::CLT.installed? ? "" : MacOS.sdk_path +ENV["LIBEDIT_CFLAGS"] = "-I#{sdk}/usr/include -I#{sdk}/usr/include/editline" +ENV["LIBEDIT_LIBS"] = "-L/usr/lib -ledit -lcurses" +end +pkg:configure --disable-dependency-tracking --disable-silent-rules --without-net-snmp +make DESTDIR=${PKG_DEST} install |