summaryrefslogtreecommitdiff
path: root/homebrew/virtualpg/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/virtualpg/.make.sh-auto')
-rw-r--r--homebrew/virtualpg/.make.sh-auto4
1 files changed, 4 insertions, 0 deletions
diff --git a/homebrew/virtualpg/.make.sh-auto b/homebrew/virtualpg/.make.sh-auto
new file mode 100644
index 000000000..05ae64d8c
--- /dev/null
+++ b/homebrew/virtualpg/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "configure", "shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'", "shrext_cmds='.dylib'"
+pkg:configure --enable-shared=yes --disable-dependency-tracking --with-pgconfig=#{Formula[postgresql"].opt_bin}/pg_config"
+make DESTDIR=${PKG_DEST} install