aboutsummaryrefslogtreecommitdiff
path: root/databases/galera
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-15 09:00:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-15 09:00:33 +0000
commit4d8846c47037487dd0ab86cc143cc67c8b7ef9e8 (patch)
tree290491fd3d231f16d61f91f58742daa9ced771fa /databases/galera
parentd1e61084808a7d49bea0080eef34cdc87a045f3b (diff)
downloadports-4d8846c47037487dd0ab86cc143cc67c8b7ef9e8.tar.gz
ports-4d8846c47037487dd0ab86cc143cc67c8b7ef9e8.zip
Notes
Diffstat (limited to 'databases/galera')
-rw-r--r--databases/galera/Makefile26
-rw-r--r--databases/galera/pkg-descr2
2 files changed, 5 insertions, 23 deletions
diff --git a/databases/galera/Makefile b/databases/galera/Makefile
index 4c7ffd1c69a8..c8ce7ee5a9d1 100644
--- a/databases/galera/Makefile
+++ b/databases/galera/Makefile
@@ -56,27 +56,9 @@ OPTIONS_DEFINE= BOOSTPOOL BPOSTATIC DEBUG
BOOSTPOOL_DESC= Use boost pool allocator
BPOSTATIC_DESC= Use static boost_program_options
-.include <bsd.port.pre.mk>
-
-# Clang is available on FreeBSD 9.x but the default
-# compiler (e.g. /usr/bin/cc) is GCC. Force the usage of Clang.
-.if ${OSVERSION} < 1000024
-CC= clang
-CXX= clang++
-CPP= clang-cpp
-.endif
-
-.if ${PORT_OPTIONS:MBOOSTPOOL}
-MAKE_ARGS+= boost_pool=1
-.endif
-
-.if ${PORT_OPTIONS:MBPOSTATIC}
-MAKE_ARGS+= bpostatic=${LOCALBASE}/lib/libboost_program_options.a
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-MAKE_ARGS+= debug=0
-.endif
+BOOSTPOOL_MAKE_ARGS= boost_pool=1
+BPOSTATIC_MAKE_ARGS= bpostatic=${LOCALBASE}/lib/libboost_program_options.a
+DEBUG_MAKE_ARGS= debug=0
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/garb/garbd ${STAGEDIR}${PREFIX}/bin/
@@ -84,4 +66,4 @@ do-install:
@(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libgalera_smm.so \
libgalera.so)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/galera/pkg-descr b/databases/galera/pkg-descr
index c66b2f42f363..4cf15e8d108e 100644
--- a/databases/galera/pkg-descr
+++ b/databases/galera/pkg-descr
@@ -2,4 +2,4 @@ Galera wsrep provider library for Galera Cluster for MySQL, an easy-to-use
high-availability solution with high system up-time, no data loss,
and scalability for future growth.
-WWW: http://galeracluster.com
+WWW: http://galeracluster.com/