Date: Mon, 6 Jul 2015 17:46:17 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r391445 - head/databases/leveldb Message-ID: <201507061746.t66HkHeI091143@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Jul 6 17:46:17 2015 New Revision: 391445 URL: https://svnweb.freebsd.org/changeset/ports/391445 Log: - Convert to new option target helper Modified: head/databases/leveldb/Makefile Modified: head/databases/leveldb/Makefile ============================================================================== --- head/databases/leveldb/Makefile Mon Jul 6 17:46:12 2015 (r391444) +++ head/databases/leveldb/Makefile Mon Jul 6 17:46:17 2015 (r391445) @@ -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}/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507061746.t66HkHeI091143>