pkgsrc/emulators/hatari/patches/patch-ab

15 lines
331 B
Text

$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)