From 9cd208a640d800b3a4825089889603fedaf1245b Mon Sep 17 00:00:00 2001 From: roam Date: Fri, 3 Oct 2003 16:10:16 +0000 Subject: 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 [1], Alex Dupre (maintainer) [2] --- databases/mysql51-server/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'databases/mysql51-server') diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile index 9654fa2795fe..7a36ca57d586 100644 --- a/databases/mysql51-server/Makefile +++ b/databases/mysql51-server/Makefile @@ -48,6 +48,10 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ --with-comment='FreeBSD port: ${PKGNAME}' \ --enable-thread-safe-client +.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 .if ${MACHINE_ARCH} == "i386" -- cgit