pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/bacula Add catalog-mysql option, from Geert H...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8aa672cc4057
branches:  trunk
changeset: 500567:8aa672cc4057
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Oct 10 15:27:45 2005 +0000

description:
Add catalog-mysql option, from Geert Hendrickx on tech-pkg.

diffstat:

 sysutils/bacula/Makefile.common |  7 ++++++-
 sysutils/bacula/options.mk      |  4 ++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 131a1faad5f8 -r 8aa672cc4057 sysutils/bacula/Makefile.common
--- a/sysutils/bacula/Makefile.common   Mon Oct 10 15:24:08 2005 +0000
+++ b/sysutils/bacula/Makefile.common   Mon Oct 10 15:27:45 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2005/10/07 11:30:35 wiz Exp $
+# $NetBSD: Makefile.common,v 1.9 2005/10/10 15:27:45 wiz Exp $
 #
 
 DISTNAME=              bacula-1.36.0
@@ -46,6 +46,11 @@
 CONFIGURE_ARGS+=       --with-postgresql=${PGSQL_PREFIX}
 BACULA_DB=             postgresql
 .endif
+.if !empty(PKG_OPTIONS:Mcatalog-mysql)
+.  include "../../mk/mysql.buildlink3.mk"
+CONFIGURE_ARGS+=       --with-mysql=${PREFIX}
+BACULA_DB=             mysql
+.endif
 
 .include "../../mk/bsd.prefs.mk"
 .if ${OPSYS} == "Linux"
diff -r 131a1faad5f8 -r 8aa672cc4057 sysutils/bacula/options.mk
--- a/sysutils/bacula/options.mk        Mon Oct 10 15:24:08 2005 +0000
+++ b/sysutils/bacula/options.mk        Mon Oct 10 15:27:45 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2005/10/07 11:33:28 wiz Exp $
+# $NetBSD: options.mk,v 1.3 2005/10/10 15:27:45 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.bacula
 PKG_OPTIONS_REQUIRED_GROUPS=   database
-PKG_OPTIONS_GROUP.database=    catalog-sqlite catalog-pgsql
+PKG_OPTIONS_GROUP.database=    catalog-sqlite catalog-pgsql catalog-mysql
 PKG_SUGGESTED_OPTIONS=         catalog-sqlite
 
 .include "../../mk/bsd.options.mk"



Home | Main Index | Thread Index | Old Index