mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Fix build
Reported by: pointyhat via kris
This commit is contained in:
parent
7e2ed6a00b
commit
8a19cfbe4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190662
@ -25,10 +25,11 @@ CFLAGS+= -D_LZMA_SYSTEM_SIZE_T
|
||||
PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt
|
||||
|
||||
post-patch:
|
||||
@${EGREP} -lr '(malloc.h|MyAlloc|MyFree)' ${WRKSRC}|\
|
||||
${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|'
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^CXX.*||; \
|
||||
s|CXX_C|CC|; \
|
||||
s|^CFLAGS =|CFLAGS +=|' \
|
||||
's|^CXX.*||;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|;\
|
||||
s|Alloc.cpp|Alloc.c|;s|/Alloc.c|/C/Alloc.c|;/Alloc.c/s|CXX|CC|'\
|
||||
${BUILD_WRKSRC}/${MAKEFILE}
|
||||
|
||||
do-install:
|
||||
|
Loading…
Reference in New Issue
Block a user