summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2006-01-28 23:25:02 +0000
committerAlex Dupre <ale@FreeBSD.org>2006-01-28 23:25:02 +0000
commit3330df43ed75ed8003747e3c2a8767889c5dbcd4 (patch)
tree342ae64784d6a70a310176b65bb842c96b8c6571 /databases
parentTry again: add .packlist to pkg-plist with the version-independent path. (diff)
Add zlib to plist if FreeBSD < 5.0
Notes
Notes: svn path=/head/; revision=154691
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql50-server/Makefile6
-rw-r--r--databases/mysql50-server/pkg-plist.client3
-rw-r--r--databases/mysql51-server/Makefile6
-rw-r--r--databases/mysql51-server/pkg-plist.client3
-rw-r--r--databases/mysql54-server/Makefile6
-rw-r--r--databases/mysql54-server/pkg-plist.client3
-rw-r--r--databases/mysql55-server/Makefile6
-rw-r--r--databases/mysql55-server/pkg-plist.client3
-rw-r--r--databases/mysql60-server/Makefile6
-rw-r--r--databases/mysql60-server/pkg-plist.client3
-rw-r--r--databases/percona55-server/Makefile6
-rw-r--r--databases/percona55-server/pkg-plist.client3
12 files changed, 54 insertions, 0 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 34a32ac59275..2cdae397147f 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -184,6 +184,12 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
+.if ${OSVERSION} < 500000
+PLIST_SUB+= ZLIB=""
+.else
+PLIST_SUB+= ZLIB="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @zlib_dir@ 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
diff --git a/databases/mysql50-server/pkg-plist.client b/databases/mysql50-server/pkg-plist.client
index 1376c79e1d5d..15edd1137bee 100644
--- a/databases/mysql50-server/pkg-plist.client
+++ b/databases/mysql50-server/pkg-plist.client
@@ -48,6 +48,9 @@ lib/mysql/libmysqlclient.so.15
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.15
+%%ZLIB%%lib/mysql/libz.a
+%%ZLIB%%lib/mysql/libz.so
+%%ZLIB%%lib/mysql/libz.so.3
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrm include/mysql
@dirrm lib/mysql
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 34a32ac59275..2cdae397147f 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -184,6 +184,12 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
+.if ${OSVERSION} < 500000
+PLIST_SUB+= ZLIB=""
+.else
+PLIST_SUB+= ZLIB="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @zlib_dir@ 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
diff --git a/databases/mysql51-server/pkg-plist.client b/databases/mysql51-server/pkg-plist.client
index 1376c79e1d5d..15edd1137bee 100644
--- a/databases/mysql51-server/pkg-plist.client
+++ b/databases/mysql51-server/pkg-plist.client
@@ -48,6 +48,9 @@ lib/mysql/libmysqlclient.so.15
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.15
+%%ZLIB%%lib/mysql/libz.a
+%%ZLIB%%lib/mysql/libz.so
+%%ZLIB%%lib/mysql/libz.so.3
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrm include/mysql
@dirrm lib/mysql
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 34a32ac59275..2cdae397147f 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -184,6 +184,12 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
+.if ${OSVERSION} < 500000
+PLIST_SUB+= ZLIB=""
+.else
+PLIST_SUB+= ZLIB="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @zlib_dir@ 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
diff --git a/databases/mysql54-server/pkg-plist.client b/databases/mysql54-server/pkg-plist.client
index 1376c79e1d5d..15edd1137bee 100644
--- a/databases/mysql54-server/pkg-plist.client
+++ b/databases/mysql54-server/pkg-plist.client
@@ -48,6 +48,9 @@ lib/mysql/libmysqlclient.so.15
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.15
+%%ZLIB%%lib/mysql/libz.a
+%%ZLIB%%lib/mysql/libz.so
+%%ZLIB%%lib/mysql/libz.so.3
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrm include/mysql
@dirrm lib/mysql
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 34a32ac59275..2cdae397147f 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -184,6 +184,12 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
+.if ${OSVERSION} < 500000
+PLIST_SUB+= ZLIB=""
+.else
+PLIST_SUB+= ZLIB="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @zlib_dir@ 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
diff --git a/databases/mysql55-server/pkg-plist.client b/databases/mysql55-server/pkg-plist.client
index 1376c79e1d5d..15edd1137bee 100644
--- a/databases/mysql55-server/pkg-plist.client
+++ b/databases/mysql55-server/pkg-plist.client
@@ -48,6 +48,9 @@ lib/mysql/libmysqlclient.so.15
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.15
+%%ZLIB%%lib/mysql/libz.a
+%%ZLIB%%lib/mysql/libz.so
+%%ZLIB%%lib/mysql/libz.so.3
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrm include/mysql
@dirrm lib/mysql
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 34a32ac59275..2cdae397147f 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -184,6 +184,12 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
+.if ${OSVERSION} < 500000
+PLIST_SUB+= ZLIB=""
+.else
+PLIST_SUB+= ZLIB="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @zlib_dir@ 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
diff --git a/databases/mysql60-server/pkg-plist.client b/databases/mysql60-server/pkg-plist.client
index 1376c79e1d5d..15edd1137bee 100644
--- a/databases/mysql60-server/pkg-plist.client
+++ b/databases/mysql60-server/pkg-plist.client
@@ -48,6 +48,9 @@ lib/mysql/libmysqlclient.so.15
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.15
+%%ZLIB%%lib/mysql/libz.a
+%%ZLIB%%lib/mysql/libz.so
+%%ZLIB%%lib/mysql/libz.so.3
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrm include/mysql
@dirrm lib/mysql
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 34a32ac59275..2cdae397147f 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -184,6 +184,12 @@ USE_LDCONFIG= ${PREFIX}/lib/mysql
CONFIGURE_ARGS+=--without-server
+.if ${OSVERSION} < 500000
+PLIST_SUB+= ZLIB=""
+.else
+PLIST_SUB+= ZLIB="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @zlib_dir@ 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
diff --git a/databases/percona55-server/pkg-plist.client b/databases/percona55-server/pkg-plist.client
index 1376c79e1d5d..15edd1137bee 100644
--- a/databases/percona55-server/pkg-plist.client
+++ b/databases/percona55-server/pkg-plist.client
@@ -48,6 +48,9 @@ lib/mysql/libmysqlclient.so.15
lib/mysql/libmysqlclient_r.a
lib/mysql/libmysqlclient_r.so
lib/mysql/libmysqlclient_r.so.15
+%%ZLIB%%lib/mysql/libz.a
+%%ZLIB%%lib/mysql/libz.so
+%%ZLIB%%lib/mysql/libz.so.3
%%DATADIR%%/mysql_fix_privilege_tables.sql
@dirrm include/mysql
@dirrm lib/mysql