summaryrefslogtreecommitdiff
path: root/databases/mysql54-server/Makefile
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/mysql54-server/Makefile
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/mysql54-server/Makefile')
-rw-r--r--databases/mysql54-server/Makefile6
1 files changed, 6 insertions, 0 deletions
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