diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2015-05-26 16:29:24 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2015-05-26 16:29:24 +0000 |
commit | 4bd81d3e5d1ad7bffc4e5a4dd4d595e82872004f (patch) | |
tree | 705a32c046e72fb17739e369a964a1b19f3fcfd3 /textproc/luceneplusplus | |
parent | 4cae4c46b10a14b194633125110bf22c77823d29 (diff) | |
download | ports-4bd81d3e5d1ad7bffc4e5a4dd4d595e82872004f.tar.gz ports-4bd81d3e5d1ad7bffc4e5a4dd4d595e82872004f.zip |
Notes
Diffstat (limited to 'textproc/luceneplusplus')
-rw-r--r-- | textproc/luceneplusplus/Makefile | 6 | ||||
-rw-r--r-- | textproc/luceneplusplus/files/extra-patch-CMakeLists.txt | 11 |
2 files changed, 16 insertions, 1 deletions
diff --git a/textproc/luceneplusplus/Makefile b/textproc/luceneplusplus/Makefile index 14638ff0c38f..d9c780c1fb1c 100644 --- a/textproc/luceneplusplus/Makefile +++ b/textproc/luceneplusplus/Makefile @@ -16,11 +16,15 @@ LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= luceneplusplus GH_PROJECT= LucenePlusPlus -USES= cmake:outsource +USES= cmake:outsource compiler USE_LDCONFIG= yes .include <bsd.port.pre.mk> +.if ${COMPILER_TYPE} == gcc +EXTRA_PATCHES= ${FILESDIR}/extra-patch-CMakeLists.txt +.endif + post-install: cd ${WRKSRC}/include &&${INSTALL_DATA} *.h \ ${STAGEDIR}${PREFIX}/include/lucene++/ diff --git a/textproc/luceneplusplus/files/extra-patch-CMakeLists.txt b/textproc/luceneplusplus/files/extra-patch-CMakeLists.txt new file mode 100644 index 000000000000..c9d24dd44068 --- /dev/null +++ b/textproc/luceneplusplus/files/extra-patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2015-01-30 17:14:22.000000000 +0100 ++++ CMakeLists.txt 2015-05-26 18:05:53.000000000 +0200 +@@ -20,6 +20,8 @@ + #################################### + include(cotire) + ++set_property(GLOBAL PROPERTY COTIRE_ENABLE_PRECOMPILED_HEADER FALSE) ++ + # if setup using the Toolchain-llvm.cmake file, then use llvm... + if(ENABLE_LLVM) + include(Toolchain-llvm) |