svn commit: r433446 - head/devel/kore
Jan Beich
jbeich at FreeBSD.org
Sun Feb 5 18:58:20 UTC 2017
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:
More information about the svn-ports-head
mailing list