mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Fix build
PR: 56436 Submitted by: Ports Fury
This commit is contained in:
parent
d770dab6c9
commit
126bd38b6a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88544
@ -47,7 +47,13 @@ pre-everything::
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
|
||||
${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
|
||||
@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|malloc\.h|stdlib.h|g'
|
||||
|
||||
pre-build:
|
||||
.for file in src/io-term.c
|
||||
cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
|
||||
&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user