Index: head/devel/google-perftools/Makefile =================================================================== --- head/devel/google-perftools/Makefile (revision 436888) +++ head/devel/google-perftools/Makefile (revision 436889) @@ -1,78 +1,73 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= google-perftools PORTVERSION= 2.5 CATEGORIES= devel MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/ DISTNAME= gperftools-${PORTVERSION} MAINTAINER= yuri@rawbw.com COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= Does not build LIB_DEPENDS= libunwind.so:devel/libunwind WRKSRC= ${WRKDIR}/gperftools-${PORTVERSION} DOCSDIR= ${PREFIX}/share/doc/gperftools GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= compiler execinfo libtool +TEST_TARGET= check CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lexecinfo OPTIONS_DEFINE= DOCS .include .if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC) # clang cannot disable builtins individually CXXFLAGS+= -fno-builtin .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-frame-pointers .endif .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not build, assembly not supported, see PR#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 .endif post-patch: .if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC) - ${REINPLACE_CMD} -Ee \ + @${REINPLACE_CMD} -Ee \ 's|-fno-builtin-[a-z_]+||g' \ ${WRKSRC}/Makefile.in .endif post-patch-DOCS-off: - ${REINPLACE_CMD} -e \ + @${REINPLACE_CMD} -e \ '/^install-data-am:/ s|install-dist_docDATA||' \ ${WRKSRC}/Makefile.in post-build: @${ECHO} @${ECHO} "Please run 'make check' (requires bash)." @${ECHO} "Two testcases are known to fail. Testsuite is known to be" @${ECHO} "unreliable and give false positives and negatives (PR#661)." @${ECHO} post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/libdata + @${MKDIR} ${STAGEDIR}${PREFIX}/libdata ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig ${STAGEDIR}${PREFIX}/libdata ${MV} ${STAGEDIR}${PREFIX}/bin/pprof ${STAGEDIR}${PREFIX}/bin/perftools-pprof @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.* - -# Two of the tests are known to fail on FreeBSD 10, uncomment this as soon as this is fixed -#regression-test: check - -check: build - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check .include Index: head/devel/google-perftools/pkg-descr =================================================================== --- head/devel/google-perftools/pkg-descr (revision 436888) +++ head/devel/google-perftools/pkg-descr (revision 436889) @@ -1,7 +1,7 @@ Perf Tools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools. Perf Tools is the fastest memory allocation library available, it also often allows applications to have smaller memory footprint. -WWW: http://code.google.com/p/google-perftools +WWW: https://github.com/gperftools/gperftools