aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-08-14 05:50:34 +0800
committerdirk <dirk@FreeBSD.org>2001-08-14 05:50:34 +0800
commit216123b7d1af924d1a336ef2fb3a43a3da7ca832 (patch)
treecf64d183fbbb991c202df586dc561717cc20a8f5 /databases/mysql60-server
parent0259b562baca8c95bada8b7471e963866aa89cb8 (diff)
downloadfreebsd-ports-gnome-216123b7d1af924d1a336ef2fb3a43a3da7ca832.tar.gz
freebsd-ports-gnome-216123b7d1af924d1a336ef2fb3a43a3da7ca832.tar.zst
freebsd-ports-gnome-216123b7d1af924d1a336ef2fb3a43a3da7ca832.zip
Cleanup:
- rename INSTALL_DB_FORCE to SKIP_DNS_CHECK - add additional comments for build options - move printing of build option to server part
Diffstat (limited to 'databases/mysql60-server')
-rw-r--r--databases/mysql60-server/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -59,30 +59,33 @@ CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
CXXFLAGS+= -fno-exceptions
.endif
+# MySQL-Server part
+.if !defined(CLIENT_ONLY)
+RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
+
+PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " WITH_CHARSET=charset define the primary built-in charset (latin1);"
@${ECHO} " WITH_XCHARSET=list define other built-in charsets (may be 'all');"
- @${ECHO} " DB_DIR=directory Set alternate directory for database files."
+ @${ECHO} " DB_DIR=directory Set alternate directory for database files"
+ @${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
+ @${ECHO} " This is _NOT_ recommended for production"
+ @${ECHO} " servers. Expect problems when enabled."
@${ECHO} " SKIP_INSTALL_DB=yes Skip mysql_install_db"
@${ECHO} " (i. e. leave ${DB_DIR} alone)."
@${ECHO} " This is useful for upgrades."
@${ECHO} " Be sure to know what you are doing!"
- @${ECHO} " INSTALL_DB_FORCE=yes don't run resolveip to do some additional"
- @${ECHO} " DNS checks before inserting local hostname to"
+ @${ECHO} " SKIP_DNS_CHECK=yes don't run resolveip to do an additional"
+ @${ECHO} " DNS check before inserting local hostname to"
@${ECHO} " mysql database."
@${ECHO} " Use if your machine has no offical DNS entry."
@${ECHO} ""
-# MySQL-Server part
-.if !defined(CLIENT_ONLY)
-RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql323-client
-
-PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
-
post-patch:
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
@@ -108,7 +111,7 @@ pre-install:
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)
-.if defined(INSTALL_DB_FORCE)
+.if defined(SKIP_DNS_CHECK)
${PREFIX}/bin/mysql_install_db --force
.else
${PREFIX}/bin/mysql_install_db