summaryrefslogtreecommitdiffstats
path: root/chat-irc/ratbox-services/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'chat-irc/ratbox-services/DEPENDS')
-rwxr-xr-xchat-irc/ratbox-services/DEPENDS15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat-irc/ratbox-services/DEPENDS b/chat-irc/ratbox-services/DEPENDS
new file mode 100755
index 0000000000..01a0c84e13
--- /dev/null
+++ b/chat-irc/ratbox-services/DEPENDS
@@ -0,0 +1,15 @@
+optional_depends pcre \
+ "--enable-pcre" \
+ "--with-pcrebuild" \
+ "to use system PCRE library" &&
+
+if [[ $RSERV_DBB == postgresql ]]; then
+ depends postgresql '--enable-pgsql'
+elif [[ $RSERV_DBB == mysql ]]; then
+ depends MYSQL '--enable-mysql'
+else
+ optional_depends sqlite \
+ "--enable-sqlite3" \
+ "--with-sqlitebuild" \
+ "to use system SQLite library"
+fi