diff options
author | Alex Dupre <ale@FreeBSD.org> | 2006-01-12 08:57:43 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2006-01-12 08:57:43 +0000 |
commit | 3f7751a86fedf48c51a8194eccedce0e7daba741 (patch) | |
tree | d50511e5d83c10bcefe8d146baa9458e59cadcfb /databases/mysql40-server | |
parent | 707b085ac0901b8bb1dcf5ebacd7b74c55d0db65 (diff) | |
download | ports-3f7751a86fedf48c51a8194eccedce0e7daba741.tar.gz ports-3f7751a86fedf48c51a8194eccedce0e7daba741.zip |
Notes
Diffstat (limited to 'databases/mysql40-server')
-rw-r--r-- | databases/mysql40-server/Makefile | 12 | ||||
-rw-r--r-- | databases/mysql40-server/files/mysql-client.sh | 15 | ||||
-rw-r--r-- | databases/mysql40-server/pkg-plist.client | 1 |
3 files changed, 5 insertions, 23 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index 3e2eeff35917..6d37497b2afa 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-server/Makefile @@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql40-client USE_AUTOTOOLS= libtool:15 USE_REINPLACE= yes -.if ${PKGNAMESUFFIX} == "-server" -USE_RC_SUBR= mysql-server.sh -.endif - CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ --without-debug \ @@ -104,6 +100,8 @@ LATEST_LINK= mysql40-server CONFLICTS= mysql-server-3.* mysql-server-4.[1-9].* mysql-server-5.* +USE_RC_SUBR= mysql-server.sh + MAN1= isamchk.1 isamlog.1 mysqld.1 \ mysqld_safe.1 perror.1 replace.1 @@ -152,6 +150,8 @@ MAN1= mysql.1 mysqladmin.1 mysqldump.1 mysqlshow.1 INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib/mysql +USE_LDCONFIG= ${PREFIX}/lib/mysql +.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk" CONFIGURE_ARGS+=--without-server @@ -164,9 +164,7 @@ post-patch: @${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c .endif -post-install: - @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/000.mysql-client.sh - @${CHMOD} 750 ${PREFIX}/etc/rc.d/000.mysql-client.sh +post-install: install-ldconfig-file .else # MySQL-Scripts part diff --git a/databases/mysql40-server/files/mysql-client.sh b/databases/mysql40-server/files/mysql-client.sh deleted file mode 100644 index bef414c12ed2..000000000000 --- a/databases/mysql40-server/files/mysql-client.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - /sbin/ldconfig -m %%PREFIX%%/lib/mysql - ;; - stop) - ;; - *) - echo "" - echo "Usage: `basename $0` { start | stop }" - echo "" - exit 64 - ;; -esac diff --git a/databases/mysql40-server/pkg-plist.client b/databases/mysql40-server/pkg-plist.client index 23923af6512a..2a8a52ba9a36 100644 --- a/databases/mysql40-server/pkg-plist.client +++ b/databases/mysql40-server/pkg-plist.client @@ -11,7 +11,6 @@ bin/mysqlmanager-pwgen bin/mysqlmanagerc bin/mysqlshow bin/mysqltest -etc/rc.d/000.mysql-client.sh include/mysql/errmsg.h include/mysql/m_ctype.h include/mysql/m_string.h |