aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql51-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-07-23 15:34:04 +0800
committerale <ale@FreeBSD.org>2005-07-23 15:34:04 +0800
commitedb4e854bb46369cb1a879f1b9f92aa9d0467b60 (patch)
treec28dae806a75fab1054a3bae97cee13e3166e3c5 /databases/mysql51-server
parent832dfdb562486342ce071dd08a2139b42018f124 (diff)
downloadfreebsd-ports-gnome-edb4e854bb46369cb1a879f1b9f92aa9d0467b60.tar.gz
freebsd-ports-gnome-edb4e854bb46369cb1a879f1b9f92aa9d0467b60.tar.zst
freebsd-ports-gnome-edb4e854bb46369cb1a879f1b9f92aa9d0467b60.zip
Install some header files (like mysqld_error.h) with the client, as previous behaviour.
Diffstat (limited to 'databases/mysql51-server')
-rw-r--r--databases/mysql51-server/Makefile8
-rw-r--r--databases/mysql51-server/pkg-plist3
-rw-r--r--databases/mysql51-server/pkg-plist.client3
3 files changed, 8 insertions, 6 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index ecad34a404d6..3ef94d6ca7c3 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-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/mysql51-server/pkg-plist b/databases/mysql51-server/pkg-plist
index b529b24062e9..9f12dd17a3fb 100644
--- a/databases/mysql51-server/pkg-plist
+++ b/databases/mysql51-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/mysql51-server/pkg-plist.client b/databases/mysql51-server/pkg-plist.client
index 65342942027f..acc408a80967 100644
--- a/databases/mysql51-server/pkg-plist.client
+++ b/databases/mysql51-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