Fix the build with Clang.
Submitted by: Cyril Roelandt
This commit is contained in:
parent
93cfaf9ad9
commit
8bab7cd3d3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290491
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ PORTDOCS= README
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/ifdef _BIG_ENDIAN/s|ifdef|if _BYTE_ORDER ==|' \
|
||||
${WRKSRC}/ttaenc.h
|
||||
@${REINPLACE_CMD} -e 's|__inline void|static &|' ${WRKSRC}/ttaenc.c
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}| ; /strip/d ; \
|
||||
s|install -m 755|${INSTALL_PROGRAM}|' ${WRKSRC}/Makefile
|
||||
|
||||
|
|
Loading…
Reference in a new issue