summaryrefslogtreecommitdiff
path: root/chat/inspircd/options.mk
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-07-28 22:52:15 +0000
committeradrianp <adrianp@pkgsrc.org>2007-07-28 22:52:15 +0000
commit87dee06cd8a5e59974c7e42c00a3bb36f4dbb782 (patch)
tree12e069063568d08c83788de68393b62528d1f100 /chat/inspircd/options.mk
parentb54d511fc0ec361f1fc0363144afca59656aa226 (diff)
downloadpkgsrc-87dee06cd8a5e59974c7e42c00a3bb36f4dbb782.tar.gz
Fix a typo in Makefile and options.mk
Change the way the ssl opotion is handled so it actually works Remove logic for options that are not present Bump PKGREVISION
Diffstat (limited to 'chat/inspircd/options.mk')
-rw-r--r--chat/inspircd/options.mk30
1 files changed, 12 insertions, 18 deletions
diff --git a/chat/inspircd/options.mk b/chat/inspircd/options.mk
index 82e47dae286..f1465f2195b 100644
--- a/chat/inspircd/options.mk
+++ b/chat/inspircd/options.mk
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.1.1.1 2007/07/24 20:13:19 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2007/07/28 22:52:15 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.inspircd
PKG_SUPPORTED_OPTIONS= inet6 ssl gnutls kqueue epoll inspircd-remoteinet6
-PKG_SUPPORTED_OPTIONS+= pcre inspircd-ziplinks mysql pgsql inspircd-sqlauth
-PKG_SUPPORTED_OPTIONS+= inspircd-sqllog inspircd-sqloper inspircd-sqlutils
+PKG_SUPPORTED_OPTIONS+= pcre inspircd-ziplinks inspircd-sqlauth
+PKG_SUPPORTED_OPTIONS+= inspircd-sqllog inspircd-sqloper
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
@@ -13,7 +13,7 @@ PKG_SUGGESTED_OPTIONS= inet6
### Dependency notes:
###
### sql = mysql, pgsql, sqlite3
-### sqlutils = sqlutils
+### sqlutils = m_sqlutils.cpp m_sqlutils.h
###
### sqloper needs sql sqlutils
### sqllog needs sql
@@ -60,7 +60,9 @@ CONFIGURE_ARGS+= --disable-remote-ipv6
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
+BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
CONFIGURE_ARGS+= --enable-openssl
+MODULES+= m_ssl_openssl.cpp
.endif
###
@@ -70,6 +72,7 @@ CONFIGURE_ARGS+= --enable-openssl
.if !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnutls
+MODULES+= m_ssl_gnutls.cpp
.endif
###
@@ -94,8 +97,8 @@ MODULES+= m_filter_pcre.cpp
###
.if !empty(PKG_OPTIONS:Minspircd-sqlauth)
INSPIRCD_STORAGE_DRIVER?= mysql
-MODULES+= m_sqlauth.cpp
-PKG_SUGGESTED_OPTIONS+= inspircd-sqlutils
+MODULES+= m_sqlauth.cpp m_sqlutils.cpp
+HEADERS+= m_sqlutils.h
.endif
###
@@ -111,16 +114,7 @@ MODULES+= m_sqllog.cpp
###
.if !empty(PKG_OPTIONS:Minspircd-sqloper)
INSPIRCD_STORAGE_DRIVER?= mysql
-MODULES+= m_sqloper.cpp
-PKG_SUGGESTED_OPTIONS+= inspircd-sqlutils
-.endif
-
-###
-### SQL utilities
-###
-.if !empty(PKG_OPTIONS:Minspircd-sqlutils)
-INSPIRCD_STORAGE_DRIVER?= mysql
-MODULES+= m_sqlutils.cpp
+MODULES+= m_sqloper.cpp m_sqlutils.cpp
HEADERS+= m_sqlutils.h
.endif
@@ -137,11 +131,11 @@ BUILD_DEFS+= INSPIRCD_STORAGE_DRIVER
. include "../../mk/mysql.buildlink3.mk"
MODULES+= m_mysql.cpp
HEADERS+= m_sqlv2.h
-. elif !empty(DSPAM_STORAGE_DRIVER:Mpgsql)
+. elif !empty(INSPIRCD_STORAGE_DRIVER:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
MODULES+= m_pgsql.cpp
HEADERS+= m_sqlv2.h
-. elif !empty(DSPAM_STORAGE_DRIVER:Msqlite3)
+. elif !empty(INSPIRCD_STORAGE_DRIVER:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
MODULES+= m_sqlite3.cpp
HEADERS+= m_sqlv2.h