diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-04-23 17:09:21 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-04-23 17:09:21 +0000 |
commit | 249ffb7f9fee508f0c19344852a183e85ab6f18f (patch) | |
tree | 541eada5f106866089d49136ccc0c45a95ae4dc1 /databases/rocksdb/Makefile | |
parent | 866c0f4e95fc910c8fb0d803c65738034cf28be9 (diff) | |
download | ports-249ffb7f9fee508f0c19344852a183e85ab6f18f.tar.gz ports-249ffb7f9fee508f0c19344852a183e85ab6f18f.zip |
Notes
Diffstat (limited to 'databases/rocksdb/Makefile')
-rw-r--r-- | databases/rocksdb/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile index f93799922959..efb3246b8cea 100644 --- a/databases/rocksdb/Makefile +++ b/databases/rocksdb/Makefile @@ -4,6 +4,7 @@ PORTNAME= rocksdb PORTVERSION= 5.2.1 DISTVERSIONPREFIX= ${PORTNAME}- +PORTREVISION= 1 CATEGORIES= databases MAINTAINER?= sunpoet@FreeBSD.org @@ -26,10 +27,10 @@ OPTIONS_DEFINE= DEBUG LZ4 ZSTD OPTIONS_DEFAULT=LZ4 ALL_TARGET= shared_lib static_lib all +CFLAGS+= -DOS_FREEBSD CONFIGURE_ARGS= make_config.mk CONFIGURE_ENV= PORTABLE=0 ROCKSDB_ROOT=${WRKSRC} CONFIGURE_SCRIPT= build_tools/build_detect_platform -CPPFLAGS+= -DOS_FREEBSD HAS_CONFIGURE= yes MAKE_ENV= CXX=${CXX} INSTALL_PATH=${STAGEDIR}${PREFIX} USE_CXXSTD= c++11 @@ -58,7 +59,7 @@ PLIST_SUB+= LITE="" .else PKGNAMESUFFIX= -lite CONFLICTS_INSTALL= rocksdb-[0-9]* -CPPFLAGS+= -DROCKSDB_LITE=1 +CFLAGS+= -DROCKSDB_LITE=1 MAKE_ENV+= LIBNAME=librocksdb${PKGNAMESUFFIX} PLIST_SUB+= LITE=${PKGNAMESUFFIX} .endif |