summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-29 07:07:44 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-29 07:07:44 +0000
commitc5b686aff32861b984645a81f1700f69cc57ab36 (patch)
tree43c212e5b38d3a7011c811fc3f9a5edc0b760c6b /chat
parent158484ab169d85767b9cf8cdbeff0d61cc8f13e0 (diff)
downloadpkgsrc-c5b686aff32861b984645a81f1700f69cc57ab36.tar.gz
Use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk,
so that we'd not force dependance on specific MySQL version, and instead pick the currently installed mysql*-client (or install the default if there is no mysql-client package installed yet) this makes package buildable with arbitrary MySQL version, such as 3.23.x, 4.0.x or 4.1.x
Diffstat (limited to 'chat')
-rw-r--r--chat/jabberd2/options.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/chat/jabberd2/options.mk b/chat/jabberd2/options.mk
index 57f40d23527..7575003c514 100644
--- a/chat/jabberd2/options.mk
+++ b/chat/jabberd2/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2004/08/07 14:29:20 xtraeme Exp $
+# $NetBSD: options.mk,v 1.2 2004/10/29 07:07:44 xtraeme Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.jabberd2
-PKG_SUPPORTED_OPTIONS= db mysql mysql4 pgsql ldap pam
+PKG_SUPPORTED_OPTIONS= db mysql pgsql ldap pam
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdb)
@@ -15,13 +15,7 @@ CONFIGURE_ARGS+= --enable-db
.if !empty(PKG_OPTIONS:Mmysql)
CONFIGURE_ARGS+= --enable-mysql
CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql
-. include "../../databases/mysql-client/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mmysql4)
-CONFIGURE_ARGS+= --enable-mysql
-CPPFLAGS+= -I${BUILDLINK_PREFIX.mysql-client}/include/mysql
-. include "../../databases/mysql4-client/buildlink3.mk"
+. include "../../mk/mysql.buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mpgsql)