summaryrefslogtreecommitdiff
path: root/emulators/hatari/patches/patch-ab
blob: 190da40685be9073826c4a93925fd25ca200ced6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.4 2016/04/21 11:31:22 jperkin Exp $

Use CMAKE_INSTALL_MANDIR.

--- CMakeLists.txt.orig	2010-07-22 18:25:40.000000000 +0000
+++ CMakeLists.txt
@@ -177,7 +177,7 @@ if(NOT BIN2DATADIR)
 endif()
 
 if(NOT MANDIR)
-	set(MANDIR share/man/man1)
+	set(MANDIR ${CMAKE_INSTALL_MANDIR}/man1)
 endif()
 
 if(NOT DOCDIR)