pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

include-what-you-use: finish package.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Dec 30 17:14:35 2015 +0100
Changeset:	3107852a89f41b5a3ca0649326b080d2d34a457d

Modified Files:
	include-what-you-use/Makefile
	include-what-you-use/PLIST

Log Message:
include-what-you-use: finish package.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3107852a89f41b5a3ca0649326b080d2d34a457d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 include-what-you-use/Makefile | 11 ++++++++++-
 include-what-you-use/PLIST    |  3 +++
 2 files changed, 13 insertions(+), 1 deletion(-)

diffs:
diff --git a/include-what-you-use/Makefile b/include-what-you-use/Makefile
index 2d2a236..7ca2d42 100644
--- a/include-what-you-use/Makefile
+++ b/include-what-you-use/Makefile
@@ -13,6 +13,15 @@ COMMENT=	Analyze \#includes in C and C++ source files
 WRKSRC=		${WRKDIR}/include-what-you-use
 USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
+CMAKE_ARGS+=	-DIWYU_LLVM_ROOT_PATH:PATH=${BUILDLINK_PREFIX.clang}
 
-.include "../../lang/libLLVM/buildlink3.mk"
+REPLACE_PYTHON=		fix_includes.py
+REPLACE_PYTHON+=	fix_includes_test.py
+REPLACE_PYTHON+=	iwyu_test_util.py
+REPLACE_PYTHON+=	iwyu_tool.py
+REPLACE_PYTHON+=	make_readme.py
+REPLACE_PYTHON+=	run_iwyu_tests.py
+
+.include "../../lang/clang/buildlink3.mk"
+.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/include-what-you-use/PLIST b/include-what-you-use/PLIST
index 48d96a5..68c4d57 100644
--- a/include-what-you-use/PLIST
+++ b/include-what-you-use/PLIST
@@ -1 +1,4 @@
 @comment $NetBSD$
+bin/fix_includes.py
+bin/include-what-you-use
+bin/iwyu_tool.py


Home | Main Index | Thread Index | Old Index