mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
- Apply upstream patches to plug a memory leak, etc. - Move CLuceneConfig.cmake to DATADIR as other ports do. - Fix several problems found by Clang and make it build cleanly. Submitted by: Kishore Ramareddy (kishore at niksun dot com) (initial version) [1]
20 lines
1 KiB
Text
20 lines
1 KiB
Text
--- src/shared/CMakeLists.txt.orig 2011-03-16 20:21:07.000000000 -0400
|
|
+++ src/shared/CMakeLists.txt 2013-03-27 17:31:13.000000000 -0400
|
|
@@ -42,7 +42,7 @@
|
|
find_package(ZLIB)
|
|
IF ( ZLIB_FOUND )
|
|
SET ( EXTRA_LIBS ${EXTRA_LIBS} ${ZLIB_LIBRARY} )
|
|
-ELSEIF ( ZLIB_FOUND )
|
|
+ELSE ( ZLIB_FOUND )
|
|
MESSAGE( "ZLIB not found, using local: ${clucene-ext_SOURCE_DIR}/zlib" )
|
|
SET(ZLIB_INCLUDE_DIR ${clucene-ext_SOURCE_DIR}/zlib )
|
|
SET(ZLIB_LIBRARY ${clucene-ext_BINARY_DIR})
|
|
@@ -62,7 +62,7 @@
|
|
stdint.h unistd.h io.h direct.h sys/dir.h sys/ndir.h dirent.h wctype.h fcntl.h
|
|
stat.h sys/stat.h stdexcept errno.h fcntl.h windef.h windows.h wchar.h
|
|
hash_map hash_set ext/hash_map ext/hash_map tr1/unordered_set tr1/unordered_map
|
|
- sys/timeb.h tchar.h strings.h stdexcept sys/mman.h winerror.h )
|
|
+ tchar.h strings.h stdexcept sys/mman.h winerror.h )
|
|
|
|
|
|
########################################################################
|