aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql54-server/Makefile
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-09-29 05:47:53 +0800
committeroliver <oliver@FreeBSD.org>2003-09-29 05:47:53 +0800
commit3923a98e327d6b9e97b15b43827e4e9f81010f0a (patch)
treeeaf7672464b91f924ef296a35979fe79b38dd470 /databases/mysql54-server/Makefile
parent2c185e6745333185a9af778d26375ec2fc75ac91 (diff)
downloadfreebsd-ports-gnome-3923a98e327d6b9e97b15b43827e4e9f81010f0a.tar.gz
freebsd-ports-gnome-3923a98e327d6b9e97b15b43827e4e9f81010f0a.tar.zst
freebsd-ports-gnome-3923a98e327d6b9e97b15b43827e4e9f81010f0a.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
Diffstat (limited to 'databases/mysql54-server/Makefile')
-rw-r--r--databases/mysql54-server/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 13383997dd60..9654fa2795fe 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-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