Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 09:00:33 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456386 - head/databases/galera
Message-ID:  <201712150900.vBF90X1K081705@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec 15 09:00:33 2017
New Revision: 456386
URL: https://svnweb.freebsd.org/changeset/ports/456386

Log:
  - Switch to options helpers
  - Remove obsolete OSVERSION condition
  - Fix WWW:
  
  Approved by:	portmgr blanket

Modified:
  head/databases/galera/Makefile
  head/databases/galera/pkg-descr

Modified: head/databases/galera/Makefile
==============================================================================
--- head/databases/galera/Makefile	Fri Dec 15 09:00:32 2017	(r456385)
+++ head/databases/galera/Makefile	Fri Dec 15 09:00:33 2017	(r456386)
@@ -56,32 +56,14 @@ OPTIONS_DEFINE=	BOOSTPOOL BPOSTATIC DEBUG
 BOOSTPOOL_DESC=	Use boost pool allocator
 BPOSTATIC_DESC=	Use static boost_program_options
 
-.include <bsd.port.pre.mk>
+BOOSTPOOL_MAKE_ARGS=	boost_pool=1
+BPOSTATIC_MAKE_ARGS=	bpostatic=${LOCALBASE}/lib/libboost_program_options.a
+DEBUG_MAKE_ARGS=	debug=0
 
-# 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
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/garb/garbd ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_LIB} ${WRKSRC}/libgalera_smm.so ${STAGEDIR}${PREFIX}/lib/
 	@(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libgalera_smm.so \
 		libgalera.so)
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/galera/pkg-descr
==============================================================================
--- head/databases/galera/pkg-descr	Fri Dec 15 09:00:32 2017	(r456385)
+++ head/databases/galera/pkg-descr	Fri Dec 15 09:00:33 2017	(r456386)
@@ -2,4 +2,4 @@ Galera wsrep provider library for Galera Cluster for M
 high-availability solution with high system up-time, no data loss,
 and scalability for future growth.
 
-WWW: http://galeracluster.com
+WWW: http://galeracluster.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712150900.vBF90X1K081705>