diff options
Diffstat (limited to 'databases/mysql55-server/Makefile')
-rw-r--r-- | databases/mysql55-server/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index a19d4a8feaad..03a885233ee8 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-server/Makefile @@ -6,7 +6,7 @@ # PORTNAME?= mysql -PORTVERSION= 5.0.17 +PORTVERSION= 5.0.18 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL} @@ -20,10 +20,6 @@ SLAVEDIRS= databases/mysql50-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 \ @@ -119,6 +115,8 @@ LATEST_LINK= mysql50-server CONFLICTS= mysql-server-3.* mysql-server-4.* +USE_RC_SUBR= mysql-server.sh + .if defined(WITH_NDB) PLIST_SUB+= NDB="" .else @@ -181,6 +179,8 @@ MAN1= mysql_config.1 mysql.1 mysqladmin.1 mysqlbinlog.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 @@ -197,9 +197,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 |