Fix the build with Clang.

Submitted by:	Cyril Roelandt
This commit is contained in:
Alexey Dokuchaev 2012-02-06 12:29:24 +00:00
parent 93cfaf9ad9
commit 8bab7cd3d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290491

View file

@ -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