pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/akonadi Add dependency on mysql - its not really ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/528450c3e373
branches:  trunk
changeset: 557481:528450c3e373
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Apr 15 20:45:29 2009 +0000

description:
Add dependency on mysql - its not really optional at this point.
Bump PKGREVISION.

diffstat:

 mail/akonadi/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 7bfd89dccddb -r 528450c3e373 mail/akonadi/Makefile
--- a/mail/akonadi/Makefile     Wed Apr 15 20:40:54 2009 +0000
+++ b/mail/akonadi/Makefile     Wed Apr 15 20:45:29 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2009/01/27 10:47:19 markd Exp $
+# $NetBSD: Makefile,v 1.6 2009/04/15 20:45:29 markd Exp $
 
 DISTNAME=      akonadi-1.1.1
+PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  http://download.akonadi-project.org/
 EXTRACT_SUFX=  .tar.bz2
@@ -15,6 +16,8 @@
 
 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
 
 USE_DIRS+=     kde4-1.0
 USE_TOOLS+=    pkg-config
@@ -29,6 +32,12 @@
 
 PKGCONFIG_OVERRIDE+=   akonadi.pc.cmake
 
+SUBST_CLASSES+=                mysql
+SUBST_STAGE.mysql=     post-patch
+SUBST_MESSAGE.mysql=   Fix mysqld path.
+SUBST_FILES.mysql=     server/CMakeLists.txt
+SUBST_SED.mysql=       -e "s:MYSQLD_EXECUTABLE mysqld:MYSQLD_EXECUTABLE mysqld ${PREFIX}/libexec:"
+
 .include "../../databases/shared-mime-info/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../x11/qt4-libs/buildlink3.mk"



Home | Main Index | Thread Index | Old Index