From 827e1cc9e26d648ff6fe6cb649d03fb08d2998a9 Mon Sep 17 00:00:00 2001 From: asami Date: Thu, 4 Dec 1997 11:44:52 +0000 Subject: Delete the database before installation if PACKAGE_BUILDING is defined -- we are obviously not interested in keeping the old versions around in that case. --- databases/percona55-client/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'databases/percona55-client/Makefile') diff --git a/databases/percona55-client/Makefile b/databases/percona55-client/Makefile index 160fa8beceb6..0dc20e5a37c4 100644 --- a/databases/percona55-client/Makefile +++ b/databases/percona55-client/Makefile @@ -3,7 +3,7 @@ # Date created: 28 Oct 1997 # Whom: Josh Tiefenbach # -# $Id: Makefile,v 1.10 1997/11/18 19:05:12 jfitz Exp $ +# $Id: Makefile,v 1.11 1997/11/26 23:35:27 jseger Exp $ # DISTNAME= mysql-3.20.32a @@ -25,6 +25,9 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl INSTALL_SCRIPT="${INSTALL_SCRIPT}" pre-install: +.if defined(PACKAGE_BUILDING) + @ ${RM} -rf /var/db/mysql +.endif @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version post-install: -- cgit