Fix build with clang
PR: ports/161527 Submitted by: Nali Toja <nalitoja@gmail.com>
This commit is contained in:
parent
6beb276952
commit
b0ff3c0e93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284067
1 changed files with 5 additions and 0 deletions
|
@ -28,6 +28,11 @@ PLIST_FILES= bin/${PORTNAME}
|
|||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^CXXFLAGS=|#CXXFLAGS=|g' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} '/[:.]c/!s/compare/this->&/' \
|
||||
${WRKSRC}/aapl/avlcommon.h \
|
||||
${WRKSRC}/aapl/bstcommon.h \
|
||||
${WRKSRC}/aapl/bubblesort.h \
|
||||
${WRKSRC}/aapl/mergesort.h
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ragel/${PORTNAME} ${PREFIX}/bin
|
||||
|
|
Loading…
Reference in a new issue