freebsd-ports/devel/include-what-you-use/Makefile
Mark Linimon fa74598719 Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
Reported by:	swills
2017-05-21 21:55:08 +00:00

31 lines
750 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= include-what-you-use
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= koobs@FreeBSD.org
COMMENT= Tool for use with clang to analyze #includes in C and C++ source files
LICENSE= NCSA
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
BUILD_DEPENDS= clang39:devel/llvm39
RUN_DEPENDS= clang39:devel/llvm39
BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11"
USES= cmake:outsource ncurses python:run shebangfix
USE_GITHUB= yes
SHEBANG_FILES= fix_includes.py \
iwyu_tool.py
GH_TAGNAME= clang_3.9
CMAKE_ARGS+= -DIWYU_LLVM_INCLUDE_PATH=${LOCALBASE}/llvm39/include \
-DIWYU_LLVM_LIB_PATH=${LOCALBASE}/llvm39/lib
.include <bsd.port.mk>