aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql56-server
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2015-01-01 22:41:56 +0000
committerSean Bruno <sbruno@FreeBSD.org>2015-01-01 22:41:56 +0000
commitf5f737f97e89526a6ae3e88f5bb3b352dd5cb446 (patch)
tree1ba54bde6eae0da8773137936520b2f99c7ef144 /databases/mysql56-server
parent3c576aed66caf60de6e8d5aa80594b20a43f2923 (diff)
downloadports-f5f737f97e89526a6ae3e88f5bb3b352dd5cb446.tar.gz
ports-f5f737f97e89526a6ae3e88f5bb3b352dd5cb446.zip
Notes
Diffstat (limited to 'databases/mysql56-server')
-rw-r--r--databases/mysql56-server/Makefile8
-rw-r--r--databases/mysql56-server/files/extra-patch-config.h.cmake12
2 files changed, 19 insertions, 1 deletions
diff --git a/databases/mysql56-server/Makefile b/databases/mysql56-server/Makefile
index fda6da0a8d48..d25acd089270 100644
--- a/databases/mysql56-server/Makefile
+++ b/databases/mysql56-server/Makefile
@@ -71,4 +71,10 @@ USES+= readline
post-patch:
@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "armv6"
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config.h.cmake
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/mysql56-server/files/extra-patch-config.h.cmake b/databases/mysql56-server/files/extra-patch-config.h.cmake
new file mode 100644
index 000000000000..3ac1add1b9ce
--- /dev/null
+++ b/databases/mysql56-server/files/extra-patch-config.h.cmake
@@ -0,0 +1,12 @@
+--- config.h.cmake.orig 2014-12-05 16:24:02 UTC
++++ config.h.cmake
+@@ -151,7 +151,8 @@
+ #cmakedefine HAVE_FESETROUND 1
+ #cmakedefine HAVE_FINITE 1
+ #cmakedefine HAVE_FP_EXCEPT 1
+-#cmakedefine HAVE_FPSETMASK 1
++#cmakedefine HAVE_FPSETMASK 0
++#cmakedefine HAVE_FEDISABLEEXCEPT 1
+ #cmakedefine HAVE_FSEEKO 1
+ #cmakedefine HAVE_FSYNC 1
+ #cmakedefine HAVE_FTIME 1