pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/gld Cannot use mysql and pgsql options together, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a219ceafc036
branches: trunk
changeset: 494460:a219ceafc036
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue May 24 15:30:39 2005 +0000
description:
Cannot use mysql and pgsql options together, use one of them.
diffstat:
mail/gld/options.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 0d02b9b7ed73 -r a219ceafc036 mail/gld/options.mk
--- a/mail/gld/options.mk Tue May 24 15:18:32 2005 +0000
+++ b/mail/gld/options.mk Tue May 24 15:30:39 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2005/04/14 22:22:56 xtraeme Exp $
+# $NetBSD: options.mk,v 1.2 2005/05/24 15:30:39 xtraeme Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gld
PKG_SUPPORTED_OPTIONS= mysql pgsql
@@ -6,6 +6,10 @@
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mmysql) && !empty(PKG_OPTIONS:Mpgsql)
+PKG_FAIL_REASON+= "Choose one option: mysql or pgsql."
+.endif
+
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
Home |
Main Index |
Thread Index |
Old Index