aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/sysbench
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2006-05-23 03:36:16 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2006-05-23 03:36:16 +0000
commitaf7be7306cbb4e73581831504006231b36d56add (patch)
tree7d71aff53fe141191bb25e59f1ae1556191f6458 /benchmarks/sysbench
parent219c3ab2fb112509ce1adcc83eacd5d38e317a7f (diff)
downloadports-af7be7306cbb4e73581831504006231b36d56add.tar.gz
ports-af7be7306cbb4e73581831504006231b36d56add.zip
We must use --with-mysql=no & --with-pgsql=no to disable mysql/pgsql support.
(thanks to gabor at berczi.be's report) PR: ports/97541 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=163149
Diffstat (limited to 'benchmarks/sysbench')
-rw-r--r--benchmarks/sysbench/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/benchmarks/sysbench/Makefile b/benchmarks/sysbench/Makefile
index ec2672a21f9b..01b6dec527a1 100644
--- a/benchmarks/sysbench/Makefile
+++ b/benchmarks/sysbench/Makefile
@@ -21,7 +21,9 @@ OPTIONS= MYSQL "Enable MySQL support" on \
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_MYSQL)
+.if defined(WITHOUT_MYSQL)
+CONFIGURE_ARGS+= --with-mysql=no
+.else
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql
.endif
@@ -30,6 +32,8 @@ CONFIGURE_ARGS+= --with-mysql
USE_PGSQL= yes
WANT_PGSQL_VER?= 80
CONFIGURE_ARGS+= --with-pgsql
+.else
+CONFIGURE_ARGS+= --with-pgsql=no
.endif
do-install: