aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql323-server/Makefile23
-rw-r--r--databases/mysql40-server/Makefile23
-rw-r--r--databases/mysql41-server/Makefile23
-rw-r--r--databases/mysql50-server/Makefile23
-rw-r--r--databases/mysql51-server/Makefile23
-rw-r--r--databases/mysql54-server/Makefile23
-rw-r--r--databases/mysql55-server/Makefile23
-rw-r--r--databases/mysql60-server/Makefile23
-rw-r--r--databases/percona55-server/Makefile23
9 files changed, 117 insertions, 90 deletions
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-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
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-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
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-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
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-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
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-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
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-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
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-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
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
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 59f677c63349..4914e06e1d24 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-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