aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql55-server/Makefile
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-03-12 18:36:57 +0800
committerale <ale@FreeBSD.org>2004-03-12 18:36:57 +0800
commit90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0 (patch)
treea79bde7919b79e79c71ac0c3f5455b2ca8093750 /databases/mysql55-server/Makefile
parent97fa5f1341726684e42e4840c86438388e5b7d0d (diff)
downloadfreebsd-ports-gnome-90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0.tar.gz
freebsd-ports-gnome-90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0.tar.zst
freebsd-ports-gnome-90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0.zip
Fix a never-catched bug in mysql_install_db script.
Now the SKIP_DNS_CHECK knob is pointless.
Diffstat (limited to 'databases/mysql55-server/Makefile')
-rw-r--r--databases/mysql55-server/Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 9db3fbe2ce7f..366a0b771d3f 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -130,10 +130,6 @@ pre-fetch:
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases."
- @${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional DNS"
- @${ECHO} " reverse lookup before inserting local"
- @${ECHO} " hostname into mysql database"
- @${ECHO} " (use it if your machine has no official DNS entry)."
@${ECHO} " BUILD_OPTIMIZED=yes Enable compiler optimizations"
@${ECHO} " (use it if you need speed)."
@${ECHO} " BUILD_STATIC=yes Build a static version of mysqld."
@@ -162,12 +158,8 @@ post-install:
@${RM} -r ${DB_DIR}/mysql ${DB_DIR}/test 2>/dev/null || true
.endif
.if !exists(${DB_DIR}) || (defined(OVERWRITE_DB) && ${OVERWRITE_DB:L} != "no")
-.if defined(SKIP_DNS_CHECK)
- ${PREFIX}/bin/mysql_install_db --force --ldata=${DB_DIR}
-.else
${PREFIX}/bin/mysql_install_db --ldata=${DB_DIR}
.endif
-.endif
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${SED} "s|%%PREFIX%%|${PREFIX}|g; s|%%DB_DIR%%|${DB_DIR}|g" < ${FILESDIR}/mysql-server.sh > ${PREFIX}/etc/rc.d/mysql-server.sh