summaryrefslogtreecommitdiff
path: root/databases/mysql51-server/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-08-30 18:52:30 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-08-30 18:52:30 +0000
commit73012cf375a020f3df8e82367fe690e6451ef3ed (patch)
tree12bd33797ab8c77cb44a8de1974f55999783f64b /databases/mysql51-server/Makefile
parentcad/adms: update to 2.3.4 (diff)
- Add USES=libtool
- Stop using PTHREAD_CFLAGS and PTHREAD_LIBS
Diffstat (limited to 'databases/mysql51-server/Makefile')
-rw-r--r--databases/mysql51-server/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 6cbb9b029df0..8aac649a46de 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= mysql
PORTVERSION= 5.1.73
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQL-5.1
@@ -15,7 +15,7 @@ COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql51-client databases/mysql51-scripts
GNU_CONFIGURE= yes
-USES+= makeinfo
+USES+= libtool makeinfo
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
@@ -23,6 +23,7 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--with-libwrap \
--with-low-memory \
--with-comment='FreeBSD port: ${PKGNAME}' \
+ --with-named-thread-libs=-pthread \
--enable-thread-safe-client
CONFIGURE_ENV= mysql_cv_btype_last_arg_accept=socklen_t
@@ -77,9 +78,6 @@ BROKEN= Does not compile on arm
CONFIGURE_ARGS+=--enable-assembler
.endif
-CONFIGURE_ARGS+=--with-named-thread-libs=${PTHREAD_LIBS}
-CFLAGS+= ${PTHREAD_CFLAGS}
-
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -O3 -fno-omit-frame-pointer
CFLAGS+= -fno-gcse