summaryrefslogtreecommitdiffstats
path: root/databases/mysql55-client
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-12-01 02:56:08 +0000
committerasami <asami@FreeBSD.org>1998-12-01 02:56:08 +0000
commit748c210211843de8900233f8cda5309c34398aee (patch)
treee7b3d287980f726a459921a7b1d6647d44b46694 /databases/mysql55-client
parent94988ab7b94bc273ca82fbb1b945346ba97b8d8c (diff)
downloadFreeBSD-ports-748c210211843de8900233f8cda5309c34398aee.zip
FreeBSD-ports-748c210211843de8900233f8cda5309c34398aee.tar.gz
Don't try to be too fancy about using ps to find its flags, it breaks
chrooted builds. Don't start mysql automatically if PACKAGE_BUILDING is defined. Submitted by: maintainer
Diffstat (limited to 'databases/mysql55-client')
-rw-r--r--databases/mysql55-client/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
index 5ed911d..e3108ed 100644
--- a/databases/mysql55-client/Makefile
+++ b/databases/mysql55-client/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 Jan 1998
# Whom: Josh Tiefenbach <josh@ican.net>
#
-# $Id: Makefile,v 1.31 1998/11/11 05:37:08 asami Exp $
+# $Id: Makefile,v 1.32 1998/11/21 20:13:46 steve Exp $
#
DISTNAME= mysql-3.22.10-beta
@@ -61,14 +61,15 @@ pre-fetch:
.endif
pre-install:
-.if defined(PACKAGE_BUILDING)
- @ ${RM} -rf /var/db/mysql
-.endif
+.if !defined(PACKAGE_BUILDING)
@ ${SETENV} ${MAKE_ENV} ${PERL5} ${SCRIPTDIR}/check_old_version
+.endif
post-install:
${MKDIR} ${PREFIX}/share/mysql/mysql
+.if !defined(PACKAGE_BUILDING)
${PREFIX}/bin/mysql_install_db
+.endif
@ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
@ ${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql.sh
@ ${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql.sh
OpenPOWER on IntegriCloud