mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-15 07:18:23 -04:00
32 lines
833 B
Plaintext
32 lines
833 B
Plaintext
$NetBSD: patch-CMakeLists.txt,v 1.3 2011/10/28 17:34:07 schnoebe Exp $
|
|
|
|
#
|
|
# change man path to be configurable to PKGSRC standards.
|
|
# silence a warning from cmake
|
|
#
|
|
|
|
--- CMakeLists.txt.orig 2010-07-13 17:38:39.000000000 +0000
|
|
+++ CMakeLists.txt
|
|
@@ -3,6 +3,7 @@ project(spectrum)
|
|
cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)
|
|
if(COMMAND cmake_policy)
|
|
cmake_policy(SET CMP0003 NEW)
|
|
+ cmake_policy(SET CMP0017 OLD)
|
|
endif(COMMAND cmake_policy)
|
|
|
|
file(WRITE src/transport_config.h "\n")
|
|
@@ -176,11 +176,11 @@ INSTALL(FILES
|
|
|
|
INSTALL(FILES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/man/spectrumctl.8
|
|
- DESTINATION share/man/man8
|
|
+ DESTINATION @PKGMANDIR@/man8
|
|
)
|
|
INSTALL(FILES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/man/spectrum.cfg.5
|
|
- DESTINATION share/man/man5
|
|
+ DESTINATION @PKGMANDIR@/man5
|
|
)
|
|
|
|
endif (NOT WITHOUT_SPECTRUMCTL)
|