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 | c5b686aff32861b984645a81f1700f69cc57ab36 (patch) | |
tree | 43c212e5b38d3a7011c811fc3f9a5edc0b760c6b /mail | |
parent | 158484ab169d85767b9cf8cdbeff0d61cc8f13e0 (diff) | |
download | pkgsrc-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 'mail')
-rw-r--r-- | mail/dspam/options.mk | 4 | ||||
-rw-r--r-- | mail/ezmlm-idx/options.mk | 4 | ||||
-rw-r--r-- | mail/postfix-current/options.mk | 6 | ||||
-rw-r--r-- | mail/postfix/options.mk | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/mail/dspam/options.mk b/mail/dspam/options.mk index 653178cc5e9..dc8858178c7 100644 --- a/mail/dspam/options.mk +++ b/mail/dspam/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2004/10/28 13:32:20 wiz Exp $ +# $NetBSD: options.mk,v 1.6 2004/10/29 07:07:44 xtraeme Exp $ .if defined(DSPAM_DELIVERY_AGENT) && !empty(DSPAM_DELIVERY_AGENT:Mcustom) DSPAM_DELIVERY_AGENT:= ${DSPAM_DELIVERY_AGENT_ARGS} @@ -49,7 +49,7 @@ BUILD_DEFS+= DSPAM_STORAGE_DRIVER PKG_OPTIONS:= ${PKG_OPTIONS:Nvirtualusers} .endif .if !empty(DSPAM_STORAGE_DRIVER:Mmysql) -. include "../../databases/mysql4-client/buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" CONFIGURE_ARGS+= --with-storage-driver=mysql_drv CONFIGURE_ARGS+= \ --with-mysql-includes=${BUILDLINK_PREFIX.mysql-client}/include/mysql \ diff --git a/mail/ezmlm-idx/options.mk b/mail/ezmlm-idx/options.mk index 94a9e6cd278..bc4c6cde039 100644 --- a/mail/ezmlm-idx/options.mk +++ b/mail/ezmlm-idx/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2004/08/22 19:32:51 jlam Exp $ +# $NetBSD: options.mk,v 1.3 2004/10/29 07:07:44 xtraeme Exp $ # Legacy options # @@ -31,7 +31,7 @@ PKG_FAIL_REASON+= "MySQL and PostgreSQL cannot both be compiled in." \ ### MySQL support ### .if !empty(PKG_OPTIONS:Mmysql) -. include "../../databases/mysql-client/buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" . if !target(post-configure) post-configure: ${ECHO} -I${BUILDLINK_PREFIX.mysql-client}/include/mysql > ${WRKSRC}/sub_mysql/conf-sqlcc diff --git a/mail/postfix-current/options.mk b/mail/postfix-current/options.mk index 0227d25fa5b..960ebccf95e 100644 --- a/mail/postfix-current/options.mk +++ b/mail/postfix-current/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2004/08/27 06:29:08 jlam Exp $ +# $NetBSD: options.mk,v 1.6 2004/10/29 07:07:44 xtraeme Exp $ # Global and legacy options # @@ -108,12 +108,12 @@ AUXLIBS+= -L${BUILDLINK_PREFIX.db4}/lib \ ### Support using a MySQL database server for table lookups. ### .if !empty(PKG_OPTIONS:Mmysql4) -. include "../../databases/mysql4-client/buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" CCARGS+= -DHAS_MYSQL CCARGS+= `${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config --include` AUXLIBS+= `${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config --libs` .elif !empty(PKG_OPTIONS:Mmysql) -. include "../../databases/mysql-client/buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" CCARGS+= -DHAS_MYSQL -I${BUILDLINK_PREFIX.mysql-client}/include/mysql AUXLIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ diff --git a/mail/postfix/options.mk b/mail/postfix/options.mk index 4508ead1e04..06f5679e281 100644 --- a/mail/postfix/options.mk +++ b/mail/postfix/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.9 2004/09/23 16:10:07 martti Exp $ +# $NetBSD: options.mk,v 1.10 2004/10/29 07:07:44 xtraeme Exp $ # Global and legacy options # @@ -112,12 +112,12 @@ AUXLIBS+= -L${BUILDLINK_PREFIX.db4}/lib \ ### Support using a MySQL database server for table lookups. ### .if !empty(PKG_OPTIONS:Mmysql4) -. include "../../databases/mysql4-client/buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" CCARGS+= -DHAS_MYSQL CCARGS+= `${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config --include` AUXLIBS+= `${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config --libs` .elif !empty(PKG_OPTIONS:Mmysql) -. include "../../databases/mysql-client/buildlink3.mk" +. include "../../mk/mysql.buildlink3.mk" CCARGS+= -DHAS_MYSQL -I${BUILDLINK_PREFIX.mysql-client}/include/mysql AUXLIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ |