Skip to content

Commit

Permalink
devel/cvise: Remove CC/CPP/CXX exports
Browse files Browse the repository at this point in the history
USES=llvm now by default exports CC/CPP/CXX so remove those
  • Loading branch information
5u623l20 committed Sep 29, 2023
1 parent e89872e commit 1e823de
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions devel/cvise/Makefile
Expand Up @@ -36,18 +36,10 @@ SHEBANG_FILES= cvise-delta.py cvise.py
CMAKE_ARGS+= -DLLVM_DIR:PATH=${LLVM_PREFIX}/lib/cmake/llvm
CMAKE_ARGS+= -DClang_DIR:PATH=${LLVM_PREFIX}/lib/cmake/clang

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 150
CPP= clang-cpp${LLVM_VERSION}
CC= clang${LLVM_VERSION}
CXX= clang++${LLVM_VERSION}
.endif

post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/cvise.py

do-test:
cd ${BUILD_WRKSRC} && pytest

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit 1e823de

Please sign in to comment.