summaryrefslogtreecommitdiff
path: root/math/teapot/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-10-09 12:07:20 +0000
committerobache <obache@pkgsrc.org>2013-10-09 12:07:20 +0000
commitb63fc581d7c20edd262a9ab7815b6a654bc7939e (patch)
tree6ed73bc2ca11eb4bdc806ab561f96e245545f593 /math/teapot/patches
parent0f524f66b61ca81b749701dc169a9f50be083bdb (diff)
downloadpkgsrc-b63fc581d7c20edd262a9ab7815b6a654bc7939e.tar.gz
Use CMake builtin CMAKE_INSTALL_MANDIR for mandir.
Diffstat (limited to 'math/teapot/patches')
-rw-r--r--math/teapot/patches/patch-CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/teapot/patches/patch-CMakeLists.txt b/math/teapot/patches/patch-CMakeLists.txt
index 8a839b60d8d..418bf19ccb9 100644
--- a/math/teapot/patches/patch-CMakeLists.txt
+++ b/math/teapot/patches/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2012/09/13 22:29:11 asau Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2013/10/09 12:07:20 obache Exp $
--- CMakeLists.txt.orig 2012-02-06 11:30:53.000000000 +0000
+++ CMakeLists.txt
@@ -7,7 +7,7 @@ $NetBSD: patch-CMakeLists.txt,v 1.1 2012/09/13 22:29:11 asau Exp $
install(FILES COPYING README DESTINATION share/doc/teapot)
-install(FILES teapot.1 DESTINATION share/man/man1)
-+install(FILES teapot.1 DESTINATION ${PKGMANDIR}/man1)
++install(FILES teapot.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
add_custom_target(dist
COMMAND ${CMAKE_COMMAND} -E remove_directory teapot-${Teapot_VERSION_MAJOR}.${Teapot_VERSION_MINOR}.${Teapot_VERSION_PATCH}