1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Fix build with clang.

This commit is contained in:
Adam Weinberger 2014-07-30 13:27:40 +00:00
parent b4b8f61f4e
commit e8b4937fc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363479

View File

@ -19,6 +19,10 @@ MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/pathload_rcv bin/pathload_snd
post-patch:
@${REINPLACE_CMD} -e '/^int main/s/l_int32 argc/int argc/' \
${WRKSRC}/pathload_rcv.c
do-install:
.for f in pathload_rcv pathload_snd
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin