Fix build with clang.

This commit is contained in:
Emanuel Haupt 2011-06-21 10:48:52 +00:00
parent 4d4403d8fa
commit 21f77e261f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275980

View File

@ -22,9 +22,7 @@ LICENSE= MIT
MAN1= mar.1
post-patch:
@${REINPLACE_CMD} -e 's|^\(CFLAGS\ \)|\1?|' \
${WRKSRC}/src/Makefile
@${REINPLACE_CMD} -e 's|^\(CXXFLAGS\ \)|\1?|' \
@${REINPLACE_CMD} -E "s#^(CFLAGS\ |CXXFLAGS\ |CC\ |CXX\ )#\1?#" \
${WRKSRC}/src/Makefile
do-install: