diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-21 15:22:07 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-21 15:22:07 +0000 |
commit | b0ff3c0e93de0e00a672f6e895a85a757d03c45f (patch) | |
tree | 10a59fc47e2ca527d799ebec700c311a85e52c38 | |
parent | Install port specific directories with correct ownership (diff) |
Fix build with clang
PR: ports/161527
Submitted by: Nali Toja <nalitoja@gmail.com>
Notes
Notes:
svn path=/head/; revision=284067
-rw-r--r-- | devel/ragel/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/ragel/Makefile b/devel/ragel/Makefile index 3b3701936f9a..8eacca4940ba 100644 --- a/devel/ragel/Makefile +++ b/devel/ragel/Makefile @@ -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 |