summaryrefslogtreecommitdiff
path: root/databases/mysql5-client/Makefile.common
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-01-09 16:25:01 +0000
committerxtraeme <xtraeme>2006-01-09 16:25:01 +0000
commit0e623e9c95ed8040ec88920480151cd0647398ac (patch)
treebba843594157be23c5fb03cbfc418ac28b431664 /databases/mysql5-client/Makefile.common
parent1f0cc09cb3e190a9417f9749e27dc6db18e06007 (diff)
downloadpkgsrc-0e623e9c95ed8040ec88920480151cd0647398ac.tar.gz
Update mysql5-{client,server} to 5.0.18.
Too many changes to list... more information via: http://dev.mysql.com/doc/refman/5.0/en/news-5-0-18.html
Diffstat (limited to 'databases/mysql5-client/Makefile.common')
-rw-r--r--databases/mysql5-client/Makefile.common16
1 files changed, 13 insertions, 3 deletions
diff --git a/databases/mysql5-client/Makefile.common b/databases/mysql5-client/Makefile.common
index 9c949720a9d..04704c7733c 100644
--- a/databases/mysql5-client/Makefile.common
+++ b/databases/mysql5-client/Makefile.common
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.common,v 1.4 2005/12/05 23:55:04 rillig Exp $
+# $NetBSD: Makefile.common,v 1.5 2006/01/09 16:25:01 xtraeme Exp $
-DISTNAME= mysql-5.0.16
+DISTNAME= mysql-5.0.18
CATEGORIES= databases
MASTER_SITES= http://mirrors.sunsite.dk/mysql/Downloads/MySQL-5.0/ \
ftp://sunsite.dk/mirrors/mysql/Downloads/MySQL-5.0/ \
@@ -61,7 +61,8 @@ CONFIGURE_ARGS+= --disable-dependency-tracking
CONFIGURE_ARGS+= --without-debug
CONFIGURE_ARGS+= --without-bench
CONFIGURE_ARGS+= --with-low-memory
-CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
+CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl:Q}
+CONFIGURE_ARGS+= --with-zlib-dir=${BUILDLINK_PREFIX.zlib:Q}
CONFIGURE_ARGS+= --with-vio
CONFIGURE_ARGS+= --with-charset=${MYSQL_CHARSET:Q}
@@ -73,6 +74,7 @@ CONFIGURE_ARGS+= --enable-assembler
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE:Q}
+CONFIGURE_ENV+= mysql_cv_compress="yes"
CPPFLAGS+= -Dunix
CFLAGS+= -DUSE_OLD_FUNCTIONS # 3.23.x compat
@@ -111,5 +113,13 @@ SUBST_SED.scripts= -e "s,chown,${CHOWN},g" \
-e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
SUBST_MESSAGE.scripts= "Fixing scripts."
+# Detect correctly sem_init(3) on NetBSD.
+.if !empty(OPSYS:MNetBSD)
+SUBST_CLASSES+= sem
+SUBST_STAGE.sem= post-patch
+SUBST_FILES.sem= configure
+SUBST_SED.sem= "s|-lposix4|-lrt|g"
+.endif
+
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"