diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-12-04 11:44:52 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-12-04 11:44:52 +0000 |
commit | 823b3209605add749dbdc5d85b633c9d1a0d68ba (patch) | |
tree | 560a781e73e72e13f57c10051b6f6b028df60ea1 /databases/mysql60-client/Makefile | |
parent | Merge swig (committed accidentally) into SWIG. I copied Makefile, files/md5 (diff) |
Delete the database before installation if PACKAGE_BUILDING is defined
-- we are obviously not interested in keeping the old versions around
in that case.
Notes
Notes:
svn path=/head/; revision=8986
Diffstat (limited to 'databases/mysql60-client/Makefile')
-rw-r--r-- | databases/mysql60-client/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/mysql60-client/Makefile b/databases/mysql60-client/Makefile index 160fa8beceb6..0dc20e5a37c4 100644 --- a/databases/mysql60-client/Makefile +++ b/databases/mysql60-client/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: |