aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql323-server
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-10-03 16:10:16 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-10-03 16:10:16 +0000
commit959ae08171f451eaabe27038fbb59f27eaba5b25 (patch)
tree6a34eaf1db8b768416d7370ede225ea1d3553dbc /databases/mysql323-server
parentbb389a4a59d14da6e005fc8af0485c1b683d708b (diff)
downloadports-959ae08171f451eaabe27038fbb59f27eaba5b25.tar.gz
ports-959ae08171f451eaabe27038fbb59f27eaba5b25.zip
Protect against accidentally defining USE_MYSQL in the environment or
on the make(1) command line[1]. Unbreak mysql40-server's building on -CURRENT (-pthread)[2]. PR: 56252[1], 56925[2] Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> [1], Alex Dupre <sysadmin@alexdupre.com> (maintainer) [2]
Notes
Notes: svn path=/head/; revision=90144
Diffstat (limited to 'databases/mysql323-server')
-rw-r--r--databases/mysql323-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 66516d5236fe..61b5e71c17fd 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-server/Makefile
@@ -39,6 +39,10 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \
--program-prefix='' \
--with-innodb
+.ifdef USE_MYSQL
+.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
+.endif
+
.include <bsd.port.pre.mk>
.if ${MACHINE_ARCH} == "i386"