svn commit: r464659 - head/databases/clickhouse
Yuri Victorovich
yuri at FreeBSD.org
Fri Mar 16 07:36:35 UTC 2018
Author: yuri
Date: Fri Mar 16 07:36:34 2018
New Revision: 464659
URL: https://svnweb.freebsd.org/changeset/ports/464659
Log:
databases/clickhouse: Unbreak
Port changes:
* Add USES=shebangfix and SHEBANG_FILES
* Add USES=python (python is used)
* Add stripping
PR: 226616
Approved by: portmgr (port compliance, infrastructure)
Modified:
head/databases/clickhouse/Makefile
Modified: head/databases/clickhouse/Makefile
==============================================================================
--- head/databases/clickhouse/Makefile Fri Mar 16 07:34:26 2018 (r464658)
+++ head/databases/clickhouse/Makefile Fri Mar 16 07:36:34 2018 (r464659)
@@ -5,6 +5,7 @@ PORTNAME= clickhouse
PORTVERSION= 1.1.54362
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -stable
+PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= proler at gmail.com
@@ -17,10 +18,9 @@ ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only supported on amd64"
BUILD_DEPENDS= bash:shells/bash \
- sparsehash>=0:devel/sparsehash \
- cctz>=0:devel/cctz \
- libdouble-conversion>=0:devel/libdouble-conversion
-
+ sparsehash>=0:devel/sparsehash \
+ cctz>=0:devel/cctz \
+ libdouble-conversion>=0:devel/libdouble-conversion
LIB_DEPENDS= libtcmalloc.so:devel/google-perftools \
libodbc.so:databases/unixODBC \
libltdl.so:devel/libltdl \
@@ -36,7 +36,7 @@ LIB_DEPENDS= libtcmalloc.so:devel/google-perftools \
librdkafka.so:net/librdkafka \
libgtest.so:devel/googletest
-USES= compiler:c++14-lang cmake iconv mysql ssl readline
+USES= compiler:c++14-lang cmake iconv mysql python ssl readline shebangfix
USE_LDCONFIG= yes
CMAKE_ARGS= -DUNBUNDLED=1 \
-DUSE_STATIC_LIBRARIES=0 \
@@ -48,8 +48,12 @@ CMAKE_ARGS= -DUNBUNDLED=1 \
USE_GITHUB= yes
GH_ACCOUNT= yandex
GH_PROJECT= ClickHouse
-
USE_RC_SUBR= ${PORTNAME}
+SHEBANG_FILES= dbms/tests/performance/create_benchmark_page.py \
+ dbms/tests/external_dictionaries/generate_and_test.py \
+ dbms/tests/external_dictionaries/http_server.py \
+ dbms/tests/clickhouse-test
+
USERS= clickhouse
GROUPS= clickhouse
@@ -73,6 +77,8 @@ post-install:
@${RM} ${STAGEDIR}${PREFIX}/bin/corrector_utf8
@${RM} -r ${STAGEDIR}${PREFIX}/include/gtest
@${RM} ${STAGEDIR}${PREFIX}/lib/libgtest*
+
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/clickhouse-test/external_dictionaries/dictionary_library/lib*.so
${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/clickhouse-client/config.xml \
${STAGEDIR}${PREFIX}/etc/clickhouse-client/config.xml.sample
More information about the svn-ports-all
mailing list