1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/textproc/wbxml2/files/patch-CMakeLists.txt
Florian Smeets 14632448b8 Fix the build when libcheck is installed.
The switch to turn the detection off doesn't work, so remove the part from
the Makefile.

PR:		209060
Reported by:	dewayne@heuristicsystems.com.au, w.schwarzenfeld@aon.at,
		Zhang Huangbin <zhb@iredmail.org>
2016-05-01 07:21:56 +00:00

28 lines
1.4 KiB
Plaintext

--- CMakeLists.txt.orig 2015-04-08 16:34:34 UTC
+++ CMakeLists.txt
@@ -44,7 +44,7 @@ SET( CMAKE_MODULE_PATH "${CMAKE_SOURCE_D
SET( LIB_SUFFIX "" CACHE STRING "The library directory suffix. 32bit empty string, 64 for 64bit." )
SET( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE INTERNAL "libary location" )
-SET( LIBDATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The library data directory" )
+SET( LIBDATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/libdata" CACHE PATH "The library data directory" )
SET( BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE INTERNAL "binary location" )
SET( SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE INTERNAL "data location" )
SET( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE INTERNAL "headers location" )
@@ -191,7 +191,7 @@ MARK_AS_ADVANCED( CLEAR BUILD_DOCUMENTAT
# ADD_CUSTOM_TARGET( DoxygenDoc )
# ADD_DEPENDENCIES( DoxygenDoc DoxygenDocLibrary DoxygenDocTools )
#ENDIF ( BUILD_DOCUMENTATION )
-OPTION( ENABLE_INSTALL_DOC "install documentation" ON )
+OPTION( ENABLE_INSTALL_DOC "install documentation" OFF )
IF( ENABLE_INSTALL_DOC )
ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/BUGS )
ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/ChangeLog )
@@ -260,6 +260,3 @@ INCLUDE( CPack )
### CTest ########################################
ADD_SUBDIRECTORY( test/tools )
-IF(CHECK_FOUND)
- ADD_SUBDIRECTORY( test/api )
-ENDIF(CHECK_FOUND)