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/postfix-current | |
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/postfix-current')
-rw-r--r-- | mail/postfix-current/options.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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 \ |