1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00

Fix build on FreeBSD11.

This commit is contained in:
Sergey A. Osokin 2021-03-06 18:00:29 +00:00
parent 5245f428ea
commit 34ea2c887e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567504

View File

@ -96,6 +96,9 @@ PLIST_SUB+= REDIS_USER=${USERS} \
REDIS_DBDIR=${REDIS_DBDIR} \
REDIS_RUNDIR=${REDIS_RUNDIR}
post-patch:
${REINPLACE_CMD} '77s!malloc.h!stdlib.h!' ${WRKSRC}/src/zmalloc.h
post-patch-JEMALLOC-on:
@${REINPLACE_CMD} '35s!Linux!FreeBSD!g' ${WRKSRC}/src/Makefile