mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
$NetBSD: patch-apps_CMakeLists.txt,v 1.2 2013/09/24 11:16:04 mef Exp $
|
|
|
|
(1) Avoid ${WRKSRC} included in RPATH.
|
|
(2) WARN: PLIST:105: Man pages should be installed into man/, not share/man/.
|
|
|
|
--- apps/CMakeLists.txt.orig 2013-09-22 00:44:59.000000000 +0900
|
|
+++ apps/CMakeLists.txt 2013-09-22 15:44:50.000000000 +0900
|
|
@@ -93,8 +93,8 @@ set(TQSL_RCFILE ${OSX_ICONFILE})
|
|
endif()
|
|
|
|
if(NOT WIN32) #rpath setup
|
|
-SET(CMAKE_SKIP_BUILD_RPATH FALSE)
|
|
-SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
|
+SET(CMAKE_SKIP_BUILD_RPATH TRUE)
|
|
+SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
|
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
|
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
|
endif()
|
|
@@ -121,6 +121,6 @@ if(NOT APPLE AND NOT WIN32)
|
|
add_definitions("-DCONFDIR=\"${CMAKE_INSTALL_PREFIX}/share/TrustedQSL/\"")
|
|
install(TARGETS tqsl DESTINATION bin)
|
|
install(DIRECTORY help DESTINATION share/TrustedQSL)
|
|
-install(FILES tqsl.5 DESTINATION share/man/man5)
|
|
+install(FILES tqsl.5 DESTINATION man/man5)
|
|
install(FILES icons/key48.png DESTINATION share/pixmaps RENAME TrustedQSL.png)
|
|
endif()
|