Date: Sun, 5 Feb 2017 18:58:19 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433446 - head/devel/kore Message-ID: <201702051858.v15IwJ6q022593@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Feb 5 18:58:19 2017 New Revision: 433446 URL: https://svnweb.freebsd.org/changeset/ports/433446 Log: devel/kore: unbreak with GCC after r426629 cc1: error: -Werror=c11-extensions: no option -Wc11-extensions PR: 214638 Reported by: marino, pkg-fallout (mips, mips64) Modified: head/devel/kore/Makefile (contents, props changed) Modified: head/devel/kore/Makefile ============================================================================== --- head/devel/kore/Makefile Sun Feb 5 18:58:10 2017 (r433445) +++ head/devel/kore/Makefile Sun Feb 5 18:58:19 2017 (r433446) @@ -13,11 +13,13 @@ COMMENT= Web application framework for w LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake +USES= compiler gmake USE_GITHUB= yes GH_ACCOUNT= jorisvink +CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} +CFLAGS_clang= -Wno-error=c11-extensions # 12.0 + -pedantic MAKE_ARGS= INSTALL_DIR="${STAGEDIR}${PREFIX}/bin" \ INCLUDE_DIR="${STAGEDIR}${PREFIX}/include/kore" @@ -54,7 +56,6 @@ post-patch: # FreeBSD 12.0-CURRENT after r308264 @${REINPLACE_CMD} -e 's|CFLAGS+=-O|#|g' \ -e 's|/usr/local/|${LOCALBASE}/|g' \ - -e 's|-pedantic|-pedantic -Wno-error=c11-extensions|g' \ ${WRKSRC}/Makefile pre-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702051858.v15IwJ6q022593>