From 21f77e261f8a56c9fa56245132bf8d676e9cd2d9 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Tue, 21 Jun 2011 10:48:52 +0000 Subject: [PATCH] Fix build with clang. --- archivers/mar/Makefile | 4 +--- 1 file changed, 1 insertion(+), 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: