diff options
author | adam <adam> | 2010-12-12 21:32:01 +0000 |
---|---|---|
committer | adam <adam> | 2010-12-12 21:32:01 +0000 |
commit | 81dd387f0bb48996bb23efe63e4f7f0920c10e4b (patch) | |
tree | 804693bf798be7830255dcd9e0c9221658d54caf /mail/akonadi | |
parent | 88e1c78b77b69fbfd372b813727778c0ace8b5af (diff) | |
download | pkgsrc-81dd387f0bb48996bb23efe63e4f7f0920c10e4b.tar.gz |
Pick the default mysql-server version
Diffstat (limited to 'mail/akonadi')
-rw-r--r-- | mail/akonadi/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/akonadi/Makefile b/mail/akonadi/Makefile index 5055c5f012f..33645f9f491 100644 --- a/mail/akonadi/Makefile +++ b/mail/akonadi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2010/11/15 22:57:42 abs Exp $ +# $NetBSD: Makefile,v 1.20 2010/12/12 21:32:01 adam Exp $ DISTNAME= akonadi-1.4.0 PKGREVISION= 1 @@ -17,8 +17,13 @@ PKG_DESTDIR_SUPPORT= user-destdir BUILD_DEPENDS+= automoc4>=0.9.87:../../devel/automoc4 BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt -DEPENDS+= mysql-server-[0-9]*:../../databases/mysql5-server DEPENDS+= qt4-mysql-[0-9]*:../../x11/qt4-mysql +.include "../../mk/mysql.buildlink3.mk" +.if ${_MYSQL_VERSION} == "51" +DEPENDS+= mysql-server-[0-9]*:../../databases/mysql51-server +.else +DEPENDS+= mysql-server-[0-9]*:../../databases/mysql5-server +.endif USE_TOOLS+= pkg-config USE_LANGUAGES= c c++ |