mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
WIP recipe for clucene.
This commit is contained in:
47
dev-cpp/clucene/patches/clucene-2.3.3.4.patchset
Normal file
47
dev-cpp/clucene/patches/clucene-2.3.3.4.patchset
Normal file
@@ -0,0 +1,47 @@
|
||||
From bcd1d27ed66d195552d689c322a3bded92bbec5d Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Sat, 8 Nov 2014 17:51:36 +0100
|
||||
Subject: Fix include paths.
|
||||
|
||||
|
||||
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
|
||||
index 5e333a9..33614f7 100644
|
||||
--- a/src/core/CMakeLists.txt
|
||||
+++ b/src/core/CMakeLists.txt
|
||||
@@ -227,17 +227,17 @@ FOREACH(file ${HEADERS})
|
||||
file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/core ${apath})
|
||||
IF ( NOT aname MATCHES "^_.*" )
|
||||
install(FILES ${file}
|
||||
- DESTINATION include/${relpath}
|
||||
+ DESTINATION develop/headers/${relpath}
|
||||
COMPONENT development)
|
||||
ENDIF ( NOT aname MATCHES "^_.*" )
|
||||
ENDFOREACH(file)
|
||||
|
||||
#install clucene-shared headers.
|
||||
install(FILES ${clucene-shared_SOURCE_DIR}/CLucene/SharedHeader.h
|
||||
- DESTINATION include/CLucene
|
||||
+ DESTINATION develop/headers/CLucene
|
||||
COMPONENT development)
|
||||
install(FILES ${clucene-shared_SOURCE_DIR}/CLucene/LuceneThreads.h
|
||||
- DESTINATION include/CLucene
|
||||
+ DESTINATION develop/headers/CLucene
|
||||
COMPONENT development )
|
||||
|
||||
# code for installing an script to help cmake applications determine
|
||||
diff --git a/src/ext/CMakeLists.txt b/src/ext/CMakeLists.txt
|
||||
index 0ab402e..1055a4b 100644
|
||||
--- a/src/ext/CMakeLists.txt
|
||||
+++ b/src/ext/CMakeLists.txt
|
||||
@@ -9,7 +9,7 @@ FOREACH(file ${EXTHEADERS})
|
||||
file(RELATIVE_PATH relpath ${CMAKE_SOURCE_DIR}/src/ext/boost ${apath})
|
||||
|
||||
install(FILES ${file}
|
||||
- DESTINATION "include/CLucene/ext/boost/${relpath}"
|
||||
+ DESTINATION "develop/headers/CLucene/ext/boost/${relpath}"
|
||||
COMPONENT development)
|
||||
ENDFOREACH(file)
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user