diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2011-06-21 18:48:52 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2011-06-21 18:48:52 +0800 |
commit | 72d0d3bf160f3265f506639d7efd7d73095ed141 (patch) | |
tree | 1f46eb0f03d3ac60f7ed908337131f60e825e951 /archivers/mar | |
parent | 99476ffe9e8ac0ecfe661c5d90f79d1c4d4aaef2 (diff) | |
download | freebsd-ports-graphics-72d0d3bf160f3265f506639d7efd7d73095ed141.tar.gz freebsd-ports-graphics-72d0d3bf160f3265f506639d7efd7d73095ed141.tar.zst freebsd-ports-graphics-72d0d3bf160f3265f506639d7efd7d73095ed141.zip |
Fix build with clang.
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 9f270ea4867..fa9bda98ece 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: |