diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-06-21 10:48:52 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-06-21 10:48:52 +0000 |
commit | 21f77e261f8a56c9fa56245132bf8d676e9cd2d9 (patch) | |
tree | 7adfe723c1779f6e27be86cecfa9887bf67409e2 /archivers/mar | |
parent | - Make it clang-friendly (diff) |
Fix build with clang.
Notes
Notes:
svn path=/head/; revision=275980
Diffstat (limited to 'archivers/mar')
-rw-r--r-- | archivers/mar/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/archivers/mar/Makefile b/archivers/mar/Makefile index 9f270ea4867b..fa9bda98ece8 100644 --- a/archivers/mar/Makefile +++ b/archivers/mar/Makefile @@ -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: |