Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2019 21:27:59 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519240 - head/databases/redis-devel
Message-ID:  <201912072127.xB7LRxuc067070@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912072127.xB7LRxuc067070>