pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/apache-roller use jdbc-mysql51 if available



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee8f35206b8b
branches:  trunk
changeset: 356548:ee8f35206b8b
user:      spz <spz%pkgsrc.org@localhost>
date:      Sun Jan 01 18:19:58 2017 +0000

description:
use jdbc-mysql51 if available

diffstat:

 www/apache-roller/options.mk |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 9d2122f77f82 -r ee8f35206b8b www/apache-roller/options.mk
--- a/www/apache-roller/options.mk      Sun Jan 01 17:26:13 2017 +0000
+++ b/www/apache-roller/options.mk      Sun Jan 01 18:19:58 2017 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.1.1.1 2009/02/12 00:26:59 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2017/01/01 18:19:58 spz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.apache-roller
 
 PKG_OPTIONS_OPTIONAL_GROUPS=   jdbc
-PKG_OPTIONS_GROUP.jdbc=                jdbc-mysql5 jdbc-mysql31
+PKG_OPTIONS_GROUP.jdbc=                jdbc-mysql51 jdbc-mysql5 jdbc-mysql31
 
-PKG_SUPPORTED_OPTIONS= jdbc-mysql31 jdbc-mysql5
-PKG_SUGGESTED_OPTIONS= jdbc-mysql31
+PKG_SUPPORTED_OPTIONS= jdbc-mysql31 jdbc-mysql5 jdbc-mysql51
+PKG_SUGGESTED_OPTIONS= jdbc-mysql51
 
 .include "../../mk/bsd.options.mk"
 
@@ -20,3 +20,7 @@
 .if !empty(PKG_OPTIONS:Mjdbc-mysql5)
 DEPENDS+=      jdbc-mysql>=5:../../databases/jdbc-mysql5
 .endif
+
+.if !empty(PKG_OPTIONS:Mjdbc-mysql51)
+DEPENDS+=      jdbc-mysql>=5.1:../../databases/jdbc-mysql51
+.endif



Home | Main Index | Thread Index | Old Index