diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-05-24 15:30:39 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-05-24 15:30:39 +0000 |
commit | 2ef127af0839cee2ecda895b67fa661c7c91d84d (patch) | |
tree | 939d1fc1c7ae71ff8d09775204c2f4ef4d61e4a3 | |
parent | 32a3571d79e1920f5ffa3c195237462c7177de85 (diff) | |
download | pkgsrc-2ef127af0839cee2ecda895b67fa661c7c91d84d.tar.gz |
Cannot use mysql and pgsql options together, use one of them.
-rw-r--r-- | mail/gld/options.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/gld/options.mk b/mail/gld/options.mk index 2386f0ed69c..1b4d65b3d14 100644 --- a/mail/gld/options.mk +++ b/mail/gld/options.mk @@ -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 @@ PKG_DEFAULT_OPTIONS+= mysql .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} |