diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-10-29 07:07:44 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-10-29 07:07:44 +0000 |
commit | fcf023fd72046a7979c5ad0886be7bb1d2507874 (patch) | |
tree | 43c212e5b38d3a7011c811fc3f9a5edc0b760c6b /chat/jabberd2 | |
parent | ff277f92c83d8cb4a8eaa860eb3220c699ad1a1a (diff) | |
download | pkgsrc-fcf023fd72046a7979c5ad0886be7bb1d2507874.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/jabberd2')
-rw-r--r-- | chat/jabberd2/options.mk | 12 |
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) |