aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql55-server/Makefile
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-01-29 07:25:02 +0800
committerale <ale@FreeBSD.org>2006-01-29 07:25:02 +0800
commit7137975f882c3d76c7eea984a98df208dde42e39 (patch)
tree1b3512e881b3465d4e779abf0312ded11467ba87 /databases/mysql55-server/Makefile
parent894a67804e3388a325e05b9a82045565591dcffd (diff)
downloadfreebsd-ports-gnome-7137975f882c3d76c7eea984a98df208dde42e39.tar.gz
freebsd-ports-gnome-7137975f882c3d76c7eea984a98df208dde42e39.tar.zst
freebsd-ports-gnome-7137975f882c3d76c7eea984a98df208dde42e39.zip
Add zlib to plist if FreeBSD < 5.0
Diffstat (limited to 'databases/mysql55-server/Makefile')
-rw-r--r--databases/mysql55-server/Makefile6
1 files changed, 6 insertions, 0 deletions
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