From 3330df43ed75ed8003747e3c2a8767889c5dbcd4 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Sat, 28 Jan 2006 23:25:02 +0000 Subject: Add zlib to plist if FreeBSD < 5.0 --- databases/mysql54-server/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'databases/mysql54-server/Makefile') 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 -- cgit v1.2.3