diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2003-09-28 21:47:53 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2003-09-28 21:47:53 +0000 |
commit | fdb7a1c90341e5aa579095ab23149dd8d9e019d4 (patch) | |
tree | ce48501197e6e30869eee9bee247fdeb6015eda2 /databases/percona55-server | |
parent | 73ef09873d87face4621028b25da6d351cfd65e7 (diff) | |
download | ports-fdb7a1c90341e5aa579095ab23149dd8d9e019d4.tar.gz ports-fdb7a1c90341e5aa579095ab23149dd8d9e019d4.zip |
take care about DB_DIR when the initial database get installed
PR: ports/54628
Submitted By: Max Okumoto <okumoto@ucsd.edu>
Approved By: maintainer
Notes
Notes:
svn path=/head/; revision=89724
Diffstat (limited to 'databases/percona55-server')
-rw-r--r-- | databases/percona55-server/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile index 13383997dd60..9654fa2795fe 100644 --- a/databases/percona55-server/Makefile +++ b/databases/percona55-server/Makefile @@ -142,9 +142,9 @@ post-install: .endif .if !exists(${DB_DIR}) || defined(OVERWRITE_DB) .if defined(SKIP_DNS_CHECK) - ${PREFIX}/bin/mysql_install_db --force + ${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR} .else - ${PREFIX}/bin/mysql_install_db + ${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR} .endif .endif @${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL |