Lines 1-5
Link Here
|
1 |
PORTNAME= mongo-c-driver |
1 |
PORTNAME= mongo-c-driver |
2 |
PORTVERSION= 1.23.2 |
2 |
PORTVERSION= 1.23.2 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= devel |
4 |
CATEGORIES= devel |
4 |
|
5 |
|
5 |
MAINTAINER= ports@bsdserwis.com |
6 |
MAINTAINER= ports@bsdserwis.com |
Lines 18-23
USE_LDCONFIG= yes
Link Here
|
18 |
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ |
19 |
LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 \ |
19 |
libbson-1.0.so:devel/libbson \ |
20 |
libbson-1.0.so:devel/libbson \ |
20 |
libzstd.so:archivers/zstd |
21 |
libzstd.so:archivers/zstd |
|
|
22 |
ICU_LIB_DEPENDS= libicudata.so:devel/icu |
21 |
SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy |
23 |
SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy |
22 |
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
24 |
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
23 |
DOCS_VARS= BUILD_DEPENDS+=sphinx-build:textproc/py-sphinx |
25 |
DOCS_VARS= BUILD_DEPENDS+=sphinx-build:textproc/py-sphinx |
Lines 26-32
PATCH_STRIP= -p1
Link Here
|
26 |
CFLAGS+= -D__BSD_VISIBLE=1 |
28 |
CFLAGS+= -D__BSD_VISIBLE=1 |
27 |
LDFLAGS+= -pthread |
29 |
LDFLAGS+= -pthread |
28 |
|
30 |
|
29 |
OPTIONS_DEFINE= CRYPTOPROFILE DOCS RDTSCP SASL SNAPPY SSL |
31 |
OPTIONS_DEFINE= CRYPTOPROFILE DOCS ICU RDTSCP SASL SNAPPY SSL |
30 |
OPTIONS_DEFAULT= SSL |
32 |
OPTIONS_DEFAULT= SSL |
31 |
OPTIONS_SUB= yes |
33 |
OPTIONS_SUB= yes |
32 |
CRYPTOPROFILE_DESC= Use system crypto profile (require OPENSSL) |
34 |
CRYPTOPROFILE_DESC= Use system crypto profile (require OPENSSL) |
Lines 42-47
CMAKE_ARGS= -DENABLE_MONGOC=ON -DENABLE_BSON=SYSTEM
Link Here
|
42 |
CMAKE_ARGS+= -DENABLE_ZLIB=SYSTEM -DENABLE_ZSTD=ON |
44 |
CMAKE_ARGS+= -DENABLE_ZLIB=SYSTEM -DENABLE_ZSTD=ON |
43 |
CMAKE_ARGS+= -DBSON_HAVE_STRINGS_H=0 |
45 |
CMAKE_ARGS+= -DBSON_HAVE_STRINGS_H=0 |
44 |
DOCS_CMAKE_ON= -DENABLE_HTML_DOCS=ON -DENABLE_MAN_PAGES=ON |
46 |
DOCS_CMAKE_ON= -DENABLE_HTML_DOCS=ON -DENABLE_MAN_PAGES=ON |
|
|
47 |
ICU_CMAKE_ON= -DENABLE_ICU=ON |
48 |
ICU_CMAKE_OFF= -DENABLE_ICU=OFF |
45 |
RDTSCP_CMAKE_ON= -DENABLE_RDTSCP=ON |
49 |
RDTSCP_CMAKE_ON= -DENABLE_RDTSCP=ON |
46 |
RDTSCP_CMAKE_OFF= -DENABLE_RDTSCP=OFF |
50 |
RDTSCP_CMAKE_OFF= -DENABLE_RDTSCP=OFF |
47 |
SASL_CMAKE_ON= -DENABLE_SASL=CYRUS |
51 |
SASL_CMAKE_ON= -DENABLE_SASL=CYRUS |