diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-04-24 01:09:21 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-04-24 01:09:21 +0800 |
commit | 5ae10fa3c09a324f62ce5a89d49c59b47630e6e5 (patch) | |
tree | 541eada5f106866089d49136ccc0c45a95ae4dc1 | |
parent | 53d0d27c8e32b20c33b9b8e6d0d7f3f76fd48b84 (diff) | |
download | freebsd-ports-gnome-5ae10fa3c09a324f62ce5a89d49c59b47630e6e5.tar.gz freebsd-ports-gnome-5ae10fa3c09a324f62ce5a89d49c59b47630e6e5.tar.zst freebsd-ports-gnome-5ae10fa3c09a324f62ce5a89d49c59b47630e6e5.zip |
Use CFLAGS instead of CPPFLAGS
- Bump PORTREVISION for package change
PR: 218784
Submitted by: lx
-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 |