aboutsummaryrefslogtreecommitdiff
path: root/databases/percona55-server/Makefile
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-03-03 16:35:52 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-03-03 16:35:52 +0000
commit2920056f614c880d9d53fe331b9081497b72a53d (patch)
tree611b2663d79f733fb0aeb7a8a64bc63eae90257f /databases/percona55-server/Makefile
parentebb8152d46af61b9c506a56805288d0d72f10ef1 (diff)
downloadports-2920056f614c880d9d53fe331b9081497b72a53d.tar.gz
ports-2920056f614c880d9d53fe331b9081497b72a53d.zip
Update to 5.1.31 and add mysqld embedded server library.
Notes
Notes: svn path=/head/; revision=229429
Diffstat (limited to 'databases/percona55-server/Makefile')
-rw-r--r--databases/percona55-server/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 55d16c1be290..193c0bb3ce77 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= mysql
-PORTVERSION= 5.1.30
+PORTVERSION= 5.1.31
PORTREVISION?= 0
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
@@ -27,7 +27,6 @@ CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-readline \
--without-libedit \
--with-libwrap \
- --with-mysqlfs \
--with-low-memory \
--with-comment='FreeBSD port: ${PKGNAME}' \
--enable-thread-safe-client
@@ -107,6 +106,10 @@ MAN1= myisamchk.1 myisamlog.1 myisampack.1 \
INFO= mysql
+CONFIGURE_ARGS+=--with-embedded-server
+
+CFLAGS+= -fPIC
+
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@@ -127,12 +130,13 @@ pre-fetch:
@${ECHO} ""
post-patch:
- @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ sql-common @sql_server_dirs@ storage scripts @sql_server@ @man_dirs@ support-files|g" ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ sql-common @sql_server_dirs@ libmysql storage scripts @sql_server@ @man_dirs@ @libmysqld_dirs@ support-files|g" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = fill_help_tables.sql mysql_system_tables.sql mysql_system_tables_data.sql|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|man1_MANS =|man1_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/extra/Makefile.in
@${REINPLACE_CMD} -e "s|install-data-am: install-pkgincludeHEADERS|install-data-am:|g" ${WRKSRC}/include/Makefile.in
+ @${REINPLACE_CMD} -e "s|install-exec-am: install-pkglibLTLIBRARIES|install-exec-am:|g" ${WRKSRC}/libmysql/Makefile.in
@${REINPLACE_CMD} -e "/^AM_CXXFLAGS/s|=.*|+= \$$(NDB_CXXFLAGS)|" `${FIND} ${WRKSRC}/storage/ndb -name Makefile.in`
.if defined(WITH_PROC_SCOPE_PTH)
@${REINPLACE_CMD} -e "s|PTHREAD_SCOPE_SYSTEM|PTHREAD_SCOPE_PROCESS|g" ${WRKSRC}/sql/mysqld.cc