1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build with clang

This commit is contained in:
Pawel Pekala 2012-07-11 20:42:14 +00:00
parent fee1026a34
commit c303edc6b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300784

View File

@ -23,6 +23,8 @@ MAKE_ENV+= COPT="${CXXFLAGS} -fpermissive"
post-extract:
@ ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
@ ${REINPLACE_CMD} 's|inline min|inline int min|' \
${WRKSRC}/cyrx2.cc
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrx2 ${PREFIX}/bin/wmcyrx2