aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql50-server
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-09-25 05:07:50 +0800
committerdirk <dirk@FreeBSD.org>2000-09-25 05:07:50 +0800
commit5a5308085063c2a73dceb7494b57475ac92c834c (patch)
treea8e90687c1d9ae2c890e0d5d4e3ed59f652a93b9 /databases/mysql50-server
parent4247fadbbbf7632a30f561b8562ededaebb4a316 (diff)
downloadfreebsd-ports-gnome-5a5308085063c2a73dceb7494b57475ac92c834c.tar.gz
freebsd-ports-gnome-5a5308085063c2a73dceb7494b57475ac92c834c.tar.zst
freebsd-ports-gnome-5a5308085063c2a73dceb7494b57475ac92c834c.zip
- "@exec killall mysqld" should read "@unexec killall mysqld"...
- introduce MYSQL_VERSION in PLIST and PLIST_SUB
Diffstat (limited to 'databases/mysql50-server')
-rw-r--r--databases/mysql50-server/Makefile2
-rw-r--r--databases/mysql50-server/pkg-plist4
2 files changed, 4 insertions, 2 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index e6c154ee589b..5858b97bf2d0 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -40,6 +40,8 @@ CONFIGURE_ENV+= PERL=${PERL} \
.if !defined(CLIENT_ONLY)
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql322-client
+PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 320000
diff --git a/databases/mysql50-server/pkg-plist b/databases/mysql50-server/pkg-plist
index 7c89ce913312..26171076eb40 100644
--- a/databases/mysql50-server/pkg-plist
+++ b/databases/mysql50-server/pkg-plist
@@ -102,7 +102,7 @@ share/mysql/korean/errmsg.sys
share/mysql/korean/errmsg.txt
share/mysql/make_binary_distribution
share/mysql/my-example.cnf
-share/mysql/mysql-3.22.32.spec
+share/mysql/mysql-%%MYSQL_VERSION%%.spec
share/mysql/mysql-log-rotate
share/mysql/mysql.server
share/mysql/norwegian-ny/errmsg.sys
@@ -145,4 +145,4 @@ share/mysql/swedish/errmsg.txt
@dirrm share/mysql/swedish
@dirrm share/mysql
@exec %D/bin/mysql_install_db
-@exec /usr/bin/killall mysqld
+@unexec /usr/bin/killall mysqld > /dev/null 2>&1 || true