diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-07-07 01:46:17 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-07-07 01:46:17 +0800 |
commit | d7dbfee8aad6d34ae9356ef6de45826dd88f0c17 (patch) | |
tree | e4b5278d72717ce8f441117da4d3d3faecfcb451 /databases | |
parent | 364b9e349e6de2fbd8f514fa5ec2b1b4658f0834 (diff) | |
download | freebsd-ports-gnome-d7dbfee8aad6d34ae9356ef6de45826dd88f0c17.tar.gz freebsd-ports-gnome-d7dbfee8aad6d34ae9356ef6de45826dd88f0c17.tar.zst freebsd-ports-gnome-d7dbfee8aad6d34ae9356ef6de45826dd88f0c17.zip |
- Convert to new option target helper
Diffstat (limited to 'databases')
-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}/ |