aboutsummaryrefslogtreecommitdiffstats
path: root/databases/percona55-server
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-12-04 19:44:52 +0800
committerasami <asami@FreeBSD.org>1997-12-04 19:44:52 +0800
commit827e1cc9e26d648ff6fe6cb649d03fb08d2998a9 (patch)
treeb5ece043b8a3ce123d3c945f7244a9aae8113bc5 /databases/percona55-server
parent5d9fd8ad088a79a9af74a1f8e90cd9be659412bb (diff)
downloadfreebsd-ports-gnome-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.tar.gz
freebsd-ports-gnome-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.tar.zst
freebsd-ports-gnome-827e1cc9e26d648ff6fe6cb649d03fb08d2998a9.zip
Delete the database before installation if PACKAGE_BUILDING is defined
-- we are obviously not interested in keeping the old versions around in that case.
Diffstat (limited to 'databases/percona55-server')
-rw-r--r--databases/percona55-server/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 160fa8beceb6..0dc20e5a37c4 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -3,7 +3,7 @@
# Date created: 28 Oct 1997
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $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: