blob: a768f969ee6f6c91523c463143d763c6246d7d34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
$NetBSD: patch-ai,v 1.3 2016/04/21 09:34:12 jperkin Exp $
Support CMAKE_INSTALL_MANDIR.
--- CMakeLists.txt.orig 2011-12-30 20:46:04.000000000 +0000
+++ CMakeLists.txt
@@ -251,7 +251,7 @@ ENDIF (APPLEBUNDLE)
#Setp all the directories we will use
#MAN
CMAKE_POLICY(SET CMP0005 OLD)
-SET(MANDIR "share/man/")
+SET(MANDIR "${CMAKE_INSTALL_MANDIR}/")
IF(WANT_VERSIONING)
SET(SHAREDIR "share/${MAIN_DIR_NAME}${TAG_VERSION}/")
ELSE(WANT_VERSIONING)
@@ -316,12 +316,6 @@ ENDIF (APPLICATION_DATA_DIR)
#LIB LOCATION - lib or lib64 normally
#LIB
-IF(WANT_LIB64)
- IF(NOT ARCH_X86_64)
- MESSAGE(STATUS "WARNING: BUILDING 64 Bit build on non 64 bit architecture")
- ENDIF(NOT ARCH_X86_64)
- SET(LIB_SUFFIX "64" CACHE TYPE STRING)
-ENDIF(WANT_LIB64)
SET(LIB_DIR_NAME "lib${LIB_SUFFIX}")
SET(LIBDIR "${LIB_DIR_NAME}/${MAIN_DIR_NAME}${TAG_VERSION}/")
ADD_DEFINITIONS("-DLIBDIR=\\\"${CMAKE_INSTALL_PREFIX}/${LIBDIR}\\\"")
@@ -820,7 +814,7 @@ INSTALL(FILES
#KDE workaround until it starts supporting freedesktop spec
INSTALL(FILES
vnd.scribus.desktop
- DESTINATION ${MIMELNKDIR}
+ DESTINATION ${DESKTOPDIR}
)
## PL We may not need this anymore
|