inspircd: normalize module conditionals

This commit is contained in:
Adam Vandenberg 2014-02-24 23:07:13 -08:00
parent 1d18340e00
commit 960a67180a

View file

@ -28,9 +28,9 @@ class Inspircd < Formula
modules << 'm_geoip.cpp' if build.with? 'geoip'
modules << 'm_ssl_gnutls.cpp' if build.with? 'gnutls'
modules << 'm_mysql.cpp' if build.with? 'mysql'
modules << 'm_ssl_openssl.cpp' unless build.without? 'openssl'
modules << 'm_ldapauth.cpp' unless build.without? 'ldap'
modules << 'm_ldapoper.cpp' unless build.without? 'ldap'
modules << 'm_ssl_openssl.cpp' if build.with? 'openssl'
modules << 'm_ldapauth.cpp' if build.with? 'ldap'
modules << 'm_ldapoper.cpp' if build.with? 'ldap'
modules << 'm_regex_pcre.cpp' if build.with? 'pcre'
modules << 'm_pgsql.cpp' if build.with? 'postgresql'
modules << 'm_sqlite3.cpp' if build.with? 'sqlite'