svn commit: r519240 - head/databases/redis-devel

Piotr Kubaj pkubaj at FreeBSD.org
Sat Dec 7 21:27:59 UTC 2019


Author: pkubaj
Date: Sat Dec  7 21:27:58 2019
New Revision: 519240
URL: https://svnweb.freebsd.org/changeset/ports/519240

Log:
  databases/redis-devel: fix build on GCC architectures
  
  Require C11 compiler:
  cc1: error: unrecognized command line option "-std=c11"
  
  Also remove base GCC workaround.

Modified:
  head/databases/redis-devel/Makefile

Modified: head/databases/redis-devel/Makefile
==============================================================================
--- head/databases/redis-devel/Makefile	Sat Dec  7 21:05:23 2019	(r519239)
+++ head/databases/redis-devel/Makefile	Sat Dec  7 21:27:58 2019	(r519240)
@@ -11,7 +11,7 @@ COMMENT=	Persistent key-value database with built-in n
 
 LICENSE=	BSD3CLAUSE
 
-USES+=		compiler gmake
+USES+=		compiler:c11 gmake
 USE_GITHUB=	yes
 GH_TUPLE= 	antirez:${PORTNAME}:7b5f4b1
 
@@ -100,9 +100,6 @@ post-patch:
 .endif
 .if ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MLUAJIT}
 	@cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/
-.endif
-.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-	${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/lzf_d.c
 .endif
 
 post-build:


More information about the svn-ports-all mailing list