aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-06-23 12:38:10 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-06-23 12:38:10 +0000
commit9b31395163408141f3eb5906ae97143efb531440 (patch)
tree3f2f571cca9ea61f13bd855f7b555cca5c5fa030 /databases
parent6860bd8b238931db1e1efab095dfa74f98d461fd (diff)
downloadports-9b31395163408141f3eb5906ae97143efb531440.tar.gz
ports-9b31395163408141f3eb5906ae97143efb531440.zip
- Update to 6.1.5
Notes
Notes: svn path=/head/; revision=358928
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-connector-c/Makefile13
-rw-r--r--databases/mysql-connector-c/distinfo4
-rw-r--r--databases/mysql-connector-c/pkg-plist3
3 files changed, 12 insertions, 8 deletions
diff --git a/databases/mysql-connector-c/Makefile b/databases/mysql-connector-c/Makefile
index f383e47c282b..346ec0a94495 100644
--- a/databases/mysql-connector-c/Makefile
+++ b/databases/mysql-connector-c/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mysql-connector-c
-PORTVERSION= 6.1.3
-PORTREVISION= 1
+PORTVERSION= 6.1.5
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= Connector-C
@@ -17,7 +16,7 @@ LICENSE= GPLv2
USE_MYSQL= 51+
USE_OPENSSL= yes
WITH_OPENSSL_PORT=yes
-USES= cmake:outsource
+USES= cmake:outsource compiler:features
CMAKE_ARGS+= -DWITH_SSL=system \
-DOPENSSL_INCLUDE_DIR=${LOCALBASE}/include \
-DOPENSSL_LIBRARY=${LOCALBASE}/lib/libssl.so \
@@ -26,4 +25,10 @@ USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
PLIST_SUB+= PORTVERSION=${PORTVERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386" && ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
+CFLAGS+= -march=i586
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/mysql-connector-c/distinfo b/databases/mysql-connector-c/distinfo
index 78e37737741a..a56de2344252 100644
--- a/databases/mysql-connector-c/distinfo
+++ b/databases/mysql-connector-c/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mysql-connector-c-6.1.3-src.tar.gz) = 2552494da346a299f672bd9d1df493539c10014a0571286dd98b36ba7757b2b8
-SIZE (mysql-connector-c-6.1.3-src.tar.gz) = 3060172
+SHA256 (mysql-connector-c-6.1.5-src.tar.gz) = 278f2b40f3980079bc7ad247cb2bf08967ce56ef79da468ae26ff2e2a560be66
+SIZE (mysql-connector-c-6.1.5-src.tar.gz) = 3455028
diff --git a/databases/mysql-connector-c/pkg-plist b/databases/mysql-connector-c/pkg-plist
index c1a69825f8b2..71c1220687c8 100644
--- a/databases/mysql-connector-c/pkg-plist
+++ b/databases/mysql-connector-c/pkg-plist
@@ -4,7 +4,6 @@ bin/mysql-connector-c/perror
include/mysql-connector-c/big_endian.h
include/mysql-connector-c/byte_order_generic.h
include/mysql-connector-c/byte_order_generic_x86.h
-include/mysql-connector-c/byte_order_generic_x86_64.h
include/mysql-connector-c/decimal.h
include/mysql-connector-c/errmsg.h
include/mysql-connector-c/keycache.h
@@ -12,7 +11,6 @@ include/mysql-connector-c/little_endian.h
include/mysql-connector-c/m_ctype.h
include/mysql-connector-c/m_string.h
include/mysql-connector-c/my_alloc.h
-include/mysql-connector-c/my_attribute.h
include/mysql-connector-c/my_byteorder.h
include/mysql-connector-c/my_compiler.h
include/mysql-connector-c/my_config.h
@@ -36,6 +34,7 @@ include/mysql-connector-c/mysql/psi/mysql_file.h
include/mysql-connector-c/mysql/psi/mysql_idle.h
include/mysql-connector-c/mysql/psi/mysql_mdl.h
include/mysql-connector-c/mysql/psi/mysql_memory.h
+include/mysql-connector-c/mysql/psi/mysql_ps.h
include/mysql-connector-c/mysql/psi/mysql_socket.h
include/mysql-connector-c/mysql/psi/mysql_sp.h
include/mysql-connector-c/mysql/psi/mysql_stage.h