summaryrefslogtreecommitdiff
path: root/graphics/hugin/patches/patch-ac
blob: b8e46a4d3d6744f6501ee07779c8d59e81669bae (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
$NetBSD: patch-ac,v 1.4 2011/01/12 11:46:28 adam Exp $

--- CMakeLists.txt.orig	2010-09-28 22:06:42.000000000 +0000
+++ CMakeLists.txt
@@ -319,7 +319,7 @@ IF (NOT MANDIR AND NOT $ENV{MANDIR} STRE
 ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
     SET (MANDIR "man")
 ELSE(NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "")
-    SET (MANDIR "share/man")
+    SET (MANDIR "man")
 ENDIF(NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "")
 
 SET(LOCALEDIR share/locale) 
@@ -355,16 +355,6 @@ IF (APPLE)
   ENDIF (NOT MAC_SELF_CONTAINED_BUNDLE)
 ENDIF (APPLE)
 
-IF (${HUGIN_SHARED} AND UNIX AND NOT APPLE)
-  SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIBDIR}/hugin")
-  SET(HUGIN_LIBS_PRIVATE_DIR "1" CACHE INTERNAL "Store internal
-    libraries in private subdirectory" )
-ELSE (${HUGIN_SHARED} AND UNIX AND NOT APPLE)
-  # On OS X files are moved around after make install, do not try to use
-  # rpath or CMAKE_INSTALL_NAME_DIR
-  SET(HUGIN_LIBS_PRIVATE_DIR "0" CACHE INTERNAL "Store internal
-    libraries in private subdirectory" )
-ENDIF (${HUGIN_SHARED} AND UNIX AND NOT APPLE)
 
 IF (UNIX)
   IF (${HUGIN_SHARED})