summaryrefslogtreecommitdiff
path: root/homebrew/snownews/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/snownews/.make.sh-auto')
-rw-r--r--homebrew/snownews/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/snownews/.make.sh-auto b/homebrew/snownews/.make.sh-auto
new file mode 100644
index 000000000..1c34a8c10
--- /dev/null
+++ b/homebrew/snownews/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+if MacOS.version == :sierra || MacOS.version == :el_capitan
+ENV["SDKROOT"] = MacOS.sdk_path
+end
+pkg:configure
+make DESTDIR=${PKG_DEST} install EXTRA_LDFLAGS=${LDFLAGS} -L#{Formula[openssl"].opt_lib} -lz" CC=${PKG_TARG}-clang