diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-07-06 17:46:17 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-07-06 17:46:17 +0000 |
commit | 50b8db09da9ba5c277e5473e165dd7e926722a7e (patch) | |
tree | e4b5278d72717ce8f441117da4d3d3faecfcb451 /databases/leveldb | |
parent | eba2982f65d51bc377f5d2d1d16cf397602756d6 (diff) | |
download | ports-50b8db09da9ba5c277e5473e165dd7e926722a7e.tar.gz ports-50b8db09da9ba5c277e5473e165dd7e926722a7e.zip |
- Convert to new option target helper
Notes
Notes:
svn path=/head/; revision=391445
Diffstat (limited to 'databases/leveldb')
-rw-r--r-- | databases/leveldb/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/leveldb/Makefile b/databases/leveldb/Makefile index bfc5787fc8b5..354251e48a8d 100644 --- a/databases/leveldb/Makefile +++ b/databases/leveldb/Makefile @@ -44,12 +44,12 @@ SNAPPY= 0 post-patch: @${REINPLACE_CMD} -e '/PLATFORM_IS_LITTLE_ENDIAN/ s|__|_|g' ${WRKSRC}/port/port_posix.h -.if !${PORT_OPTIONS:MGPERFTOOLS} + +post-patch-GPERFTOOLS-off: @${REINPLACE_CMD} -e 's| -ltcmalloc||' ${WRKSRC}/build_detect_platform -.endif -.if !${PORT_OPTIONS:MSNAPPY} + +post-patch-SNAPPY-off: @${REINPLACE_CMD} -e 's| -DSNAPPY||; s| -lsnappy||' ${WRKSRC}/build_detect_platform -.endif do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/leveldb/ ${STAGEDIR}${PREFIX}/include/memenv/ ${STAGEDIR}${DATADIR}/ |