Date: Sun, 6 Mar 2016 18:19:42 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410473 - head/devel/libconcurrent Message-ID: <201603061819.u26IJgXk076987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rakuco Date: Sun Mar 6 18:19:41 2016 New Revision: 410473 URL: https://svnweb.freebsd.org/changeset/ports/410473 Log: Fix the build on FreeBSD 9. Remove some wrong assignments that force cc as the C compiler on FreeBSD; the port passes -std=c11 to the compiler and thus we need a compiler that's not always cc. PR: 207749 Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer) Modified: head/devel/libconcurrent/Makefile Modified: head/devel/libconcurrent/Makefile ============================================================================== --- head/devel/libconcurrent/Makefile Sun Mar 6 18:10:39 2016 (r410472) +++ head/devel/libconcurrent/Makefile Sun Mar 6 18:19:41 2016 (r410473) @@ -3,6 +3,7 @@ PORTNAME= libconcurrent PORTVERSION= 0.0.20160303 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= t@tobik.me @@ -25,9 +26,14 @@ OPTIONS_DEFAULT= EXAMPLES MAKEFILE= makefile MAKE_ARGS= LIBCONCURRENT_DESTDIR=${STAGEDIR}${PREFIX} -USES= gmake +USES= gmake compiler:c11 post-patch: +# Remove explicitly (re-)set C compiler and linker in libconcurrent's +# makefile. The ports system will provide the correct ones. This is +# needed on FreeBSD 9 where cc does not understand -std=c11. + @${REINPLACE_CMD} 's/CC=cc//g' ${WRKSRC}/makefile + @${REINPLACE_CMD} 's/LD=ld//g' ${WRKSRC}/makefile # libconcurrent's makefile resets ${ARCH} internally and the ports # system interferes with that for some reason, so replace it with a # more neutral variant.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603061819.u26IJgXk076987>