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

Sergey A. Osokin osa at FreeBSD.org
Thu Oct 18 22:20:52 UTC 2018


Author: osa
Date: Thu Oct 18 22:20:51 2018
New Revision: 482383
URL: https://svnweb.freebsd.org/changeset/ports/482383

Log:
  Fix build on GCC-based architectures.
  
  PR:	231780

Modified:
  head/databases/redis-devel/Makefile

Modified: head/databases/redis-devel/Makefile
==============================================================================
--- head/databases/redis-devel/Makefile	Thu Oct 18 22:15:25 2018	(r482382)
+++ head/databases/redis-devel/Makefile	Thu Oct 18 22:20:51 2018	(r482383)
@@ -97,6 +97,9 @@ post-patch:
 .if ${PORT_OPTIONS:MLUAJIT} || ${PORT_OPTIONS:MLUA}
 	@cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/
 .endif
+.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+	${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/src/lzf_d.c
+.endif
 
 post-build:
 	${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \


More information about the svn-ports-all mailing list