Date: Sat, 25 Jan 2014 00:17:32 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340960 - head/devel/stxxl Message-ID: <201401250017.s0P0HWDj009748@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 25 00:17:31 2014 New Revision: 340960 URL: http://svnweb.freebsd.org/changeset/ports/340960 QAT: https://qat.redports.org/buildarchive/r340960/ Log: Support stage Avoid installing .orig file Modified: head/devel/stxxl/Makefile Modified: head/devel/stxxl/Makefile ============================================================================== --- head/devel/stxxl/Makefile Sat Jan 25 00:15:58 2014 (r340959) +++ head/devel/stxxl/Makefile Sat Jan 25 00:17:31 2014 (r340960) @@ -9,7 +9,7 @@ MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= Standard Template Library for Extra Large Data Sets -USE_GMAKE= yes +USES= gmake ALL_TARGET= library_g++ MAKE_ENV+= COMPILER_GCC="${CXX}" OPT="${CXXFLAGS}" \ @@ -20,14 +20,12 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS OPTIONS_DEFAULT=OPTIMIZED_CFLAGS -.include <bsd.port.options.mk> +OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CXXFLAGS+= -O3 -.endif +.include <bsd.port.options.mk> -.if ${OSVERSION} >= 1000000 post-patch: +.if ${OSVERSION} >= 1000000 @${REINPLACE_CMD} -i '' -e 's|std::tr1::|std::|' \ ${WRKSRC}/include/stxxl/bits/compat/type_traits.h \ ${WRKSRC}/include/stxxl/bits/compat/shared_ptr.h \ @@ -36,13 +34,14 @@ post-patch: do-install: ${INSTALL_DATA} ${WRKSRC}/lib/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib - @cd ${WRKSRC}/include && ${COPYTREE_SHARE} "${PORTNAME} ${PORTNAME}.h" \ + cd ${WRKSRC}/include && ${COPYTREE_SHARE} "${PORTNAME} ${PORTNAME}.h" \ ${STAGEDIR}${PREFIX}/include - ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${RM} -f ${STAGEDIR}${PREFIX}/include/stxxl/bits/mng/config.h.orig + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} regression-test: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} tests_g++ + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} tests_g++ cd ${WRKSRC}/misc && ${SH} run-all-tests .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401250017.s0P0HWDj009748>