aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql54-server
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-07-23 07:34:04 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-07-23 07:34:04 +0000
commit3b948fe118301948a631bfbc79d1262c45c8842e (patch)
treeb8d4ae566ca351fb26e395a63a56eedec2d7741b /databases/mysql54-server
parent967e9fc58d5405be176618494d7817584ff83fb8 (diff)
downloadports-3b948fe118301948a631bfbc79d1262c45c8842e.tar.gz
ports-3b948fe118301948a631bfbc79d1262c45c8842e.zip
Notes
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r--databases/mysql54-server/Makefile8
-rw-r--r--databases/mysql54-server/pkg-plist3
-rw-r--r--databases/mysql54-server/pkg-plist.client3
3 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index ecad34a404d6..3ef94d6ca7c3 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mysql
PORTVERSION= 5.0.9
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQL-5.0
@@ -152,6 +152,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@ mysql_create_system_tables|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = fill_help_tables.sql|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/extra/Makefile.in
@${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/include/Makefile.in
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
.if defined(WITH_PROC_SCOPE_PTH)
@@ -178,12 +179,13 @@ LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
CONFIGURE_ARGS+=--without-server
post-patch:
- @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @sql_client_dirs@ scripts @man_dirs@|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLIBRARIES|install-exec-am:|g" ${WRKSRC}/strings/Makefile.in
+ @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include strings mysys dbug extra regex libmysql_r libmysql client scripts @man_dirs@|g" ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLIBRARIES|install-exec-am:|g" ${WRKSRC}/strings/Makefile.in ${WRKSRC}/mysys/Makefile.in ${WRKSRC}/dbug/Makefile.in
@${REINPLACE_CMD} -e "s|all: config.h|all: config.h all-local|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = mysql_config mysql_fix_privilege_tables mysqlbug|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = mysql_fix_privilege_tables.sql|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
+ @${REINPLACE_CMD} -e "s|install-exec-am: install-binPROGRAMS|install-exec-am:|g" ${WRKSRC}/extra/Makefile.in
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/mysys/default.c
.if defined(WITH_PROC_SCOPE_PTH)
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/tools/mysqlmanager.c
diff --git a/databases/mysql54-server/pkg-plist b/databases/mysql54-server/pkg-plist
index b529b24062e9..9f12dd17a3fb 100644
--- a/databases/mysql54-server/pkg-plist
+++ b/databases/mysql54-server/pkg-plist
@@ -25,8 +25,6 @@ bin/perror
bin/replace
bin/resolve_stack_dump
bin/resolveip
-include/mysql/mysqld_ername.h
-include/mysql/mysqld_error.h
%%NDB%%include/mysql/ndb/mgmapi/mgmapi.h
%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters.h
%%NDB%%include/mysql/ndb/mgmapi/mgmapi_config_parameters_debug.h
@@ -55,7 +53,6 @@ include/mysql/mysqld_error.h
%%NDB%%include/mysql/ndb/ndbapi/ndb_cluster_connection.hpp
%%NDB%%include/mysql/ndb/ndbapi/ndb_opt_defaults.h
%%NDB%%include/mysql/ndb/ndbapi/ndberror.h
-include/mysql/sql_state.h
lib/mysql/libdbug.a
lib/mysql/libheap.a
lib/mysql/libmyisam.a
diff --git a/databases/mysql54-server/pkg-plist.client b/databases/mysql54-server/pkg-plist.client
index 65342942027f..acc408a80967 100644
--- a/databases/mysql54-server/pkg-plist.client
+++ b/databases/mysql54-server/pkg-plist.client
@@ -34,8 +34,11 @@ include/mysql/mysql_com.h
include/mysql/mysql_embed.h
include/mysql/mysql_time.h
include/mysql/mysql_version.h
+include/mysql/mysqld_ername.h
+include/mysql/mysqld_error.h
include/mysql/raid.h
include/mysql/sql_common.h
+include/mysql/sql_state.h
include/mysql/sslopt-case.h
include/mysql/sslopt-longopts.h
include/mysql/sslopt-vars.h