Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= galera |
4 |
PORTNAME= galera |
5 |
PORTVERSION= 26.4.6 |
5 |
PORTVERSION= 26.4.7 |
6 |
DISTVERSIONPREFIX= release_ |
6 |
DISTVERSIONPREFIX= release_ |
7 |
PORTREVISION= 0 |
7 |
PORTREVISION= 0 |
8 |
CATEGORIES= databases |
8 |
CATEGORIES= databases |
Lines 30-36
Link Here
|
30 |
objdump:devel/binutils |
30 |
objdump:devel/binutils |
31 |
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs |
31 |
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs |
32 |
|
32 |
|
33 |
USES= compiler:c++11-lang python:build scons ssl |
33 |
USES= compiler:c++11-lang python:build cmake ssl |
34 |
|
34 |
|
35 |
USE_LDCONFIG= yes |
35 |
USE_LDCONFIG= yes |
36 |
|
36 |
|
Lines 38-71
Link Here
|
38 |
GH_TUPLE?= codership:galera:${DISTVERSIONPREFIX}${PORTVERSION}${DISTVERSIONSUFFIX} \ |
38 |
GH_TUPLE?= codership:galera:${DISTVERSIONPREFIX}${PORTVERSION}${DISTVERSIONSUFFIX} \ |
39 |
codership:wsrep-API:75a5f452f2ba07b0f4a3a9a94825fccc71b27398:dummy/wsrep/src |
39 |
codership:wsrep-API:75a5f452f2ba07b0f4a3a9a94825fccc71b27398:dummy/wsrep/src |
40 |
|
40 |
|
41 |
LDFLAGS+= -lboost_program_options -lboost_system |
41 |
CMAKE_ARGS+= -DGALERA_REVISION=${GH_TAGNAME} |
42 |
MAKE_ARGS+= revno=${GH_TAGNAME} system_asio=0 tests=0 |
|
|
43 |
|
42 |
|
44 |
USE_RC_SUBR= garb.sh |
43 |
USE_RC_SUBR= garb.sh |
45 |
|
44 |
|
46 |
# Abuse TEST_TARGET to append tests=1 (which is not a target, strictly |
|
|
47 |
# speaking) at the end of the "scons ..." command so that it overrides |
48 |
# tests=0 from ${MAKE_ARGS}. To rerun the tests a second time, remove |
49 |
# all *.passed files: find ./work -name *.passed -print -delete |
50 |
TEST_TARGET= deterministic_tests=1 tests=1 |
51 |
|
52 |
PLIST_FILES= bin/garbd \ |
45 |
PLIST_FILES= bin/garbd \ |
53 |
lib/libgalera.so \ |
46 |
lib/libgalera.so \ |
54 |
lib/libgalera_smm.so |
47 |
lib/libgalera_smm.so |
55 |
|
48 |
|
56 |
OPTIONS_DEFINE= BOOSTPOOL BPOSTATIC DEBUG |
49 |
post-install: |
|
|
50 |
${RLN} ${STAGEDIR}/${PREFIX}/lib/libgalera_smm.so ${STAGEDIR}/${PREFIX}/lib/libgalera.so |
57 |
|
51 |
|
58 |
BOOSTPOOL_DESC= Use boost pool allocator |
|
|
59 |
BPOSTATIC_DESC= Use static boost_program_options |
60 |
|
61 |
BOOSTPOOL_MAKE_ARGS= boost_pool=1 |
62 |
BPOSTATIC_MAKE_ARGS= bpostatic=${LOCALBASE}/lib/libboost_program_options.a |
63 |
DEBUG_MAKE_ARGS= debug=0 |
64 |
|
65 |
do-install: |
66 |
${INSTALL_PROGRAM} ${WRKSRC}/garb/garbd ${STAGEDIR}${PREFIX}/bin/ |
67 |
${INSTALL_LIB} ${WRKSRC}/libgalera_smm.so ${STAGEDIR}${PREFIX}/lib/ |
68 |
@(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libgalera_smm.so \ |
69 |
libgalera.so) |
70 |
|
71 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.mk> |