1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/emulators/aqemu/files/patch-CMakeLists.txt
Raphael Kubo da Costa 04e1309c57 Add patch to stop building the libvncclient target.
The libvncclient target was removed because it was not used anywhere (aqemu
links against the systems libvncclient.so, only the definitions and includes
are needed from this block) and did not declare its dependency on the moc and
ui files, possibly causing problems in parallel builds (way more often with
CMake 3.5.0).

PR:		208033
2016-03-19 14:26:04 +00:00

23 lines
1.1 KiB
Plaintext

The libvncclient target was removed because it was not used anywhere (aqemu
links against the systems libvncclient.so, only the definitions and includes
are needed from this block) and did not declare its dependency on the moc and
ui files, possibly causing problems in parallel builds.
--- CMakeLists.txt.orig 2011-01-14 19:38:53 UTC
+++ CMakeLists.txt
@@ -164,7 +164,6 @@ IF( NOT WITHOUT_EMBEDDED_DISPLAY )
Embedded_Display/vncclientthread.cpp Embedded_Display/vncview.cpp )
ADD_DEFINITIONS( -DVNC_DISPLAY -DQTONLY )
- ADD_LIBRARY( libvncclient SHARED ${aqemu_headers} ${aqemu_sources} )
INCLUDE_DIRECTORIES( ${VNCCLIENT_INCLUDE_DIRS} ${LIBVNCCLIENT_INCLUDE_DIR} )
ENDIF( NOT WITHOUT_EMBEDDED_DISPLAY )
@@ -318,6 +317,6 @@ IF( INSTALL_MAN )
MESSAGE( STATUS "MAN_PAGE_COMPRESSOR flag not set. Available values: gzip, bzip2, lzma" )
MESSAGE( STATUS "Will be installed not compressed MAN pages" )
- INSTALL( FILES ${CMAKE_SOURCE_DIR}/aqemu.1 DESTINATION share/man/man1 )
+ INSTALL( FILES ${CMAKE_SOURCE_DIR}/aqemu.1 DESTINATION man/man1 )
ENDIF( COMPRESSOR_SUFFIX )
ENDIF( INSTALL_MAN )